Search found 536 matches
- Mon Jan 16, 2006 5:34 pm
- Forum: Technical / Scripting
- Topic: OnEvent help
- Replies: 14
- Views: 12501
Here is the same script but this time I'm using the lib function and every time I press the P key it goes to the pause loop. Dialog>Dialog1 Caption= Width=129 Height=114 Top=238 Left=446 Max=1 Min=1 Close=1 Resize=1 Label=Paused,8,0,true Button=Start,8,16,105,25,1 Button=My Website,8,48,105,25,3 End...
- Mon Jan 16, 2006 5:21 pm
- Forum: Technical / Scripting
- Topic: OnEvent help
- Replies: 14
- Views: 12501
- Mon Jan 16, 2006 5:17 pm
- Forum: Technical / Scripting
- Topic: OnEvent help
- Replies: 14
- Views: 12501
I hate to be a pest. I understand your script and it works perfectly but it is not doing me any good because when my script goes to the pause loop it is waiting for a dialog actions such as to continue the script, to go to my website, change the speed etc. Here is a more detailed example script mayb...
- Mon Jan 16, 2006 4:48 pm
- Forum: Technical / Scripting
- Topic: OnEvent help
- Replies: 14
- Views: 12501
I don't mean to confuse you. Sometimes it's hard to put what's in your head to words. I only want the OneEvent P key to work in the main loop (loop1) but when the scripts goes to loop2 (which is the pause loop) I want to use the dialog button to resume the script and go back to the main loop (loop1)...
- Mon Jan 16, 2006 4:15 pm
- Forum: Technical / Scripting
- Topic: OnEvent help
- Replies: 14
- Views: 12501
It is still not working the way I want it to. I want the script to pause by going to loop2 when the p key is pressed. I’ve added the c counter to mimic an action that would normally occur when a button is pressed in the dialog telling the script to go back to loop1 which is the main loop. The...
- Mon Jan 16, 2006 3:50 pm
- Forum: Technical / Scripting
- Topic: OnEvent help
- Replies: 14
- Views: 12501
- Mon Jan 16, 2006 3:35 pm
- Forum: Technical / Scripting
- Topic: OnEvent help
- Replies: 14
- Views: 12501
What am I doing wrong? Here is a test script I'm using that's stepping out of the subroutine and back to loop1 but when back in loop 1 it's not recognizing when the p key is pressed. //VK80=p label>main mdl>loop1 press P label>loop1 wait>.05 OnEvent>KEY_DOWN,VK80,0,pause goto>loop1 srt>pause let>cou...
- Mon Jan 16, 2006 3:07 pm
- Forum: Technical / Scripting
- Topic: OnEvent help
- Replies: 14
- Views: 12501
OnEvent help
I like the OnEvent feature but I'm having problems with it stepping out the subroutine. What I want to is have the script go to a loop when the alt and shift keys are pressed and wait for the client to press a button in the dialog to continue with the task. Quick example Label>Main_Loop Wait>.05 OnE...
- Mon Jan 16, 2006 2:53 pm
- Forum: Technical / Scripting
- Topic: Java app
- Replies: 9
- Views: 8415
- Mon Jan 16, 2006 2:43 pm
- Forum: Technical / Scripting
- Topic: Java app
- Replies: 9
- Views: 8415
10000 Pixels was an extreme example to point out how much faster a simple add loop is. I normally search a much smaller area that is roughly 50 pixels and by using my add loop I keep my scripts fast. I have played it with the Image Recognition Library and had good results. But here is my question. I...
- Mon Jan 16, 2006 2:01 pm
- Forum: Technical / Scripting
- Topic: Java app
- Replies: 9
- Views: 8415
//Depending on system speed this script adds 10000 pixels in 6 seconds //Desired_Color returns the value of all 10000 pixels combined from a 100 by 100 pixel area //Adjust the X and Y positions to your needs //let>X_Position= and let>Y_Position= are the starting positions of the search //if>X_Posit...
- Sat Jan 07, 2006 3:06 am
- Forum: General Discussion
- Topic: Please delete
- Replies: 1
- Views: 3194
- Sat Jan 07, 2006 3:00 am
- Forum: General Discussion
- Topic: Please delete
- Replies: 1
- Views: 3194
Please delete
I found the answer.
- Tue Dec 13, 2005 10:31 am
- Forum: General Discussion
- Topic: WriteLn problem
- Replies: 5
- Views: 7049
Thanks Dick but that didn't solve the problem either. How ever, I fixed it by adding a variable to tell the script the line number. This script will not work without the variable to tell it what line number it has to write. Simply using 1 is messing with the reset dialog action command, I have no i...
- Mon Dec 12, 2005 6:19 pm
- Forum: General Discussion
- Topic: WriteLn problem
- Replies: 5
- Views: 7049
WriteLn problem
rfl>C:\Documents and Settings\%USER_NAME%\Desktop\test.txt,result if>result=##NOFILE## wln>C:\Documents and Settings\%USER_NAME%\Desktop\test.txt,1,testing goto>dialog endif ///other codes here that have nothing to with the problem label>dialog Dialog>reg Caption=Project Width=280 Height=87 Top=CENT...