Sign in to follow this  
Followers 0
nugget

Easy help please

5 posts in this topic

alright i got the script working easy for what i need it to do..

decided i would add a few more things to it to work more effectivly..

my only problem is it wont press ARROW UP for me.

im using version 2

this is what i have

sleep, 2000

send, ^i

sleep, 5000

send, {NUMPADADD}{enter}

sleep, 3000

send, {UP}{enter}

sleep, 3000

send, {UP}{enter}

sleep, 3000

send, {ESC}

the thing is it wont press UP ive tried it on its own line ive tried using {UP 1} that doesnt work iether am i missing something?

last question little more difficult is there a way to make the program respond when it sees a peice of text ie:

sleep till

if, {"you can re log in"}

soon as it sees that text it would then run the script? i dont know if that can be done but let me know please.

other then that awsome program you guys have here and its FREE!

- nugget

Share this post


Link to post
Share on other sites



WinWaitActive, <Window Title> [,<Window Text> [,<Timeout>]]

Detect:

WinWaitActive,Window Title, you can re log in,1

IfEqual,ERRORLEVEL,1, Goto, Detect

Share this post


Link to post
Share on other sites

In between each screen I would add the winwait's to make sure your that screen has the focus. I do it like this *taken from Larry*

WinWait,MyTitle,MyText

WinActivate,MyTitle,MyText

WinWaitActive,MyTitle,MyText

Just add this in between each window that comes up and it should help to remained focus. This is probably the problem you are having. Or the control you're trying to manipulate doesn't obtain focus when the screen starts.

red

Share this post


Link to post
Share on other sites

dont know why it wasnt working using {UP} BUT {DOWN} works so that ok

is there a way to make a script find a peice of text

the windows are setup right already i just need it to hit enter when a peice of text apears

IE:

IF, something has caught on the hook! text came up.

sleep, 2000

send, {ENTER}

IF, You lost your catch text comes up. it would start the loop over.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0