Search found 11 matches
- Thu Mar 08, 2007 10:27 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
Great news! I use "WaitReady". It executes much more faster than using FindImagePos.... With my test, I think that WaitReady works very well to move fast on the process (change the screen and then ready to input) My code is like: press enter (This command will change the screen) waitready>0 send>y P...
- Thu Mar 08, 2007 9:15 pm
- Forum: Technical / Scripting
- Topic: ScreenImage
- Replies: 2
- Views: 3569
Please forget this post. It's duplicate. Please refer to the post: Response to Users' Input. Thank you.
________
Babi Mac Breakaway
________
Babi Mac Breakaway
- Thu Mar 08, 2007 9:14 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
As you suggested with your sample code, I tested it. It took me 6-7 seconds to recognize the image. Is this the normal duration? My code below: Let>x=1 Repeat>x GetScreenRes>sX,sY ScreenCapture>0,0,sX,sY,c:\screen.bmp FindImagePos>C:\savechange.bmp,C:\screen.bmp,20,1,xPos,yPos,imgs if>imgs>0 let>x=2...
- Thu Mar 08, 2007 9:05 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
You are right. I tested with my code. It still took my 8 seconds to execute. Let me try yours. Thank you for pointing that out.
________
Easy Vape
________
Easy Vape
- Thu Mar 08, 2007 8:48 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
I wrote something like this: Let>x=1 Repeat>x GetScreenRes>sX,sY ScreenCapture>0,0,sX,sY,c:\screen.bmp FindImagePos>C:\title.bmp,C:\screen.bmp,20,1,xPos,yPos,imgs if>imgs>0 let>x=2 Endif Until>x=2 send>y press enter does this help too? Your code looks complex to me. If mine doesn't work, I'll dig on...
- Thu Mar 08, 2007 8:37 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
Oh, I checked with the past post and still didn't figure out how to use a loop to do that... Could you provide me an example close to my case? That would be valuable for me....
________
OXYGEN VAPORIZER
________
OXYGEN VAPORIZER
- Thu Mar 08, 2007 8:35 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
- Thu Mar 08, 2007 8:28 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
Yeah, actually my screen image is a very small image which only contains a few words in it.
I open the window which has the image(always in the same positon) as the part of it, run the script. I still got a very slow response to recognize the image.
Any help on this?
________
Herbalaire
I open the window which has the image(always in the same positon) as the part of it, run the script. I still got a very slow response to recognize the image.
Any help on this?
________
Herbalaire
- Thu Mar 08, 2007 8:26 pm
- Forum: Technical / Scripting
- Topic: ScreenImage
- Replies: 2
- Views: 3569
ScreenImage
Yeah, actually my screen image is a very small image which only contains a few words in it. I open the window which has the image(always in the same positon) as the part of it, run the script. I still got a very slow response to recognize the image. Any help on this? ________ CROSMAN 8 SHOT ROTARY C...
- Thu Mar 08, 2007 7:35 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
WaitScreenImage
Thank you folks for your input. I think I could use waitscreenimage to solve my problems so far. But, it seems that the command "waitscreenimage" has a very long response time. I did a few tests to run the command in my emulator. At average, it took over 10 seconds to move to the next command, altho...
- Tue Feb 27, 2007 9:53 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16691
response to users' input
I have a sample task as below running in a Terminal Emulator send>1 press enter send>c press enter press enter press enter .... Since the response time for each command is different, I added the wait> command between each command to make sure that each command starts to execute right after the preiv...