If I add % on both sides of COMPUTER_NAME like JRL proposed
it works! However it is not needed to add % to Mus1 and Mus2.
I want to thank all of you who tried to help me
IF>%COMPUTER_NAME%=HP30222709268
Let>Mus1=492
Let>Mus2=369
ELSE
Let>Mus1=492
Let>Mus2=343
ENDIF
MouseMove>%Mus1%,%Mus2%
Search found 4 matches
- Fri Mar 06, 2009 7:42 pm
- Forum: Technical / Scripting
- Topic: Detecting computer
- Replies: 14
- Views: 12613
- Thu Mar 05, 2009 10:43 pm
- Forum: Technical / Scripting
- Topic: Detecting computer
- Replies: 14
- Views: 12613
Thank you JRL for your continued help! I´m using version 11.1.05 standard. The code fails while Macro Scheduler doesn´t make a choice between the first and second option, it just steps through the code and ends up with Mus1=492 and Mus2=343 independent if it is my work computer or my home computer...
- Sun Mar 01, 2009 12:43 pm
- Forum: Technical / Scripting
- Topic: Detecting computer
- Replies: 14
- Views: 12613
Thanks JRL for you help! It seems however to be something strange about this. Your correct code doesn´t work either //messagemodal>COMPUTER_NAME IF>COMPUTER_NAME=HP30222709268 Let>Mus1=492 Let>Mus2=369 ELSE Let>Mus1=492 Let>Mus2=343 ENDIF MouseMove>Mus1,Mus2 But if I change to something more clumsy...
- Mon Feb 23, 2009 10:05 am
- Forum: Technical / Scripting
- Topic: Detecting computer
- Replies: 14
- Views: 12613
Detecting computer
I´m running the same macro on two computers. The mousemove should be different on the two computers. Unfortunately it doesn´t work like below. The macro takes the first two values undependent of which computer I´m using. Could anybody please advice me what is wrong with the macro? //messagemodal>...