stupidlazykid5 Posted June 13, 2008 Posted June 13, 2008 ok, again... i am writing a script that does strokes and movement and it runs/begin/start when i press a certain key i would like to change it so that it automatically starts when it see a certain text like, if it sees this text " start " in the screen, it will automatically start and run but i am not very sure how to do it
Valuater Posted June 13, 2008 Posted June 13, 2008 me either, my screen always says start at the bottom left... stupidlazykid5 8)
stupidlazykid5 Posted June 13, 2008 Author Posted June 13, 2008 me either, my screen always says start at the bottom left... stupidlazykid58)er, o_owhat about says start on the bottom left ?i setup my script to start when i press the button on my keyboard.but not i want to change it so that when it sees a text it will automatically run itself
ReaImDown Posted June 13, 2008 Posted June 13, 2008 er, o_owhat about says start on the bottom left ?i setup my script to start when i press the button on my keyboard.but not i want to change it so that when it sees a text it will automatically run itselfit was a joke, the start menu bar... haha? funny? it always says start on your screen? [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
stupidlazykid5 Posted June 13, 2008 Author Posted June 13, 2008 it was a joke, the start menu bar... haha? funny? it always says start on your screen?i don't mean like thati mean yeah double click it and all buti usually press "Home" key to run my scriptbut instead, is there a way to make it see a text and begin itself?
ReaImDown Posted June 13, 2008 Posted June 13, 2008 i don't mean like thati mean yeah double click it and all buti usually press "Home" key to run my scriptbut instead, is there a way to make it see a text and begin itself?WinGetText()? [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
stupidlazykid5 Posted June 13, 2008 Author Posted June 13, 2008 WinGetText()?yeah, i did it, but i'm not sure , it didin't work pretty well o_ocan you show me a simple exampleit usually gets through my head when i see one @__@
ReaImDown Posted June 14, 2008 Posted June 14, 2008 yeah, i did it, but i'm not sure , it didin't work pretty well o_ocan you show me a simple exampleit usually gets through my head when i see one @__@I never use it...gimme 5 mins, I will swoop something up 4 ya [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
ReaImDown Posted June 14, 2008 Posted June 14, 2008 (edited) I never use it...gimme 5 mins, I will swoop something up 4 ya this works better do sleep(100) $text = WinGetTitle("","test") until $text <> "" MsgBox(0,"","Test found in " & $text) this works too do sleep(100) $text = WinGettext("","test") until $text <> "" MsgBox(0,"","Test found...now we run the program") Edited June 14, 2008 by ReaImDown [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now