Search found 26 matches
- Fri May 23, 2008 3:48 pm
- Forum: Technical / Scripting
- Topic: If Statement Not Always Executing
- Replies: 11
- Views: 13190
AH! Thanks so much. I was just complaining to my gf the other night that this is a great program but doesn't have any debugging tools. Guess I was wrong, I even used the advanced editor option but never noticed it. 8) And no, the if statement is being executed, I was incorrect in that assumption. Th...
- Thu May 22, 2008 2:16 pm
- Forum: Technical / Scripting
- Topic: If Statement Not Always Executing
- Replies: 11
- Views: 13190
If Statement Not Always Executing
Alright, so after running the script for a while I noticed that my previous problem persisted. I also figured out that Wait>.1 or .2 or .3 etc. does absolutely nothing and the variable has to be a whole integer. In any case; Here is a sample of my script: Label>Loops1 FindImagePos>C:\macrolive\submi...
- Mon May 19, 2008 3:26 am
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
- Mon May 19, 2008 2:12 am
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
- Sun May 18, 2008 1:00 pm
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
The problem with my original script was that {somehow} out of over 100 executions, a button was pressed which is located above the intended one inside the intended window. I can only attribute this problem to having LClick execute before the mouse finishes moving to the intended coordinates. Additio...
- Sun May 18, 2008 3:00 am
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
Somewhat, I don't need to verify that the window is active but that the mouse is at the correct coordinates. But your script gave me the idea of using the GetCursorPos>X,Y to verify the cursor pos :D Here is the revised script: SetFocus> {Windowname} Label>Loop1 Wait>.2 MouseMove>162,565 GetCursorPo...
- Sat May 17, 2008 8:15 pm
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
- Sat May 17, 2008 2:28 pm
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
Thanks for the tip. Do you think it would help to structure the script in this manner: SetFocus> GetActiveWindow> MouseMove> Wait>1 MouseMove> Wait>1 LClick Wait>1 SetFocus> GetActiveWindow> FindImagePos> MouseMove> Wait>1 MouseMove> Wait>1 LClick Or am I just wasting execution time? Considering the...
- Sat May 17, 2008 3:21 am
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
@ larkspur, so you've experienced this problem as well? @mtettmar, the window names are actually derived from an application that I'm developing hence why the use of placeholders. It doesn't really matter as the GUI is simple Java; and the window which has opened on several occasions in this instanc...
- Fri May 16, 2008 2:38 pm
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
Sorry, I think that my first post wasn't clear enough. The program itself doesn't actually crash, the script will simply hang at waitwindowopen and everything from the program's side seems fine. I've kept a log every since the first crash and there is nothing abnormal with these executions which cli...
- Fri May 16, 2008 12:45 pm
- Forum: Technical / Scripting
- Topic: Problem with MouseMove... I think
- Replies: 16
- Views: 12290
Problem with MouseMove... I think
I'm currently trying out the demo of the program so I'm using the newest version. I've written a script to recognize images and compare them with a bunch of if statements. The purpose of the program is to open different windows and click different parts of the screen. I've been running the program f...