Sign in to follow this  
Followers 0
stupidlazykid5

need script help

9 posts in this topic

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

Share this post


Link to post
Share on other sites



me either, my screen always says start at the bottom left... stupidlazykid5

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

me either, my screen always says start at the bottom left... stupidlazykid5

8)

er, o_o

what 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

Share this post


Link to post
Share on other sites

er, o_o

what 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

it 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]

Share this post


Link to post
Share on other sites

it was a joke, the start menu bar... haha? funny? it always says start on your screen?

i don't mean like that

i mean yeah double click it and all but

i usually press "Home" key to run my script

but instead, is there a way to make it see a text and begin itself?

Share this post


Link to post
Share on other sites

i don't mean like that

i mean yeah double click it and all but

i usually press "Home" key to run my script

but 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]

Share this post


Link to post
Share on other sites

WinGetText()?

yeah, i did it, but i'm not sure , it didin't work pretty well o_o

can you show me a simple example

it usually gets through my head when i see one @__@

Share this post


Link to post
Share on other sites

yeah, i did it, but i'm not sure , it didin't work pretty well o_o

can you show me a simple example

it 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]

Share this post


Link to post
Share on other sites

#9 ·  Posted (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 by ReaImDown

[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0