Jump to content
Sign in to follow this  
webber

Onchange event

Recommended Posts

webber

Anything like javascript, "onchange" event, available for use with autoIT ?

Share this post


Link to post
Share on other sites
quaizywabbit

read the help file, particularly the "Gui Reference" section. It explains the Message and On-Event modes for GUI's.

Beyond that, the Beta Version of AutoIt has COM, (in case your app is COM based)


[u]Do more with pre-existing apps![/u]ANYGUIv2.8

Share this post


Link to post
Share on other sites
webber

read the help file, particularly the "Gui Reference" section. It explains the Message and On-Event modes for GUI's.

Beyond that, the Beta Version of AutoIt has COM, (in case your app is COM based)

<{POST_SNAPBACK}>

I saw these, but as I understand them, they are all tied to a button click. i was hoping to find an example of how to trigger a function based on a change to the value of a text input box.

Share this post


Link to post
Share on other sites
quaizywabbit

pseudocode:

old value = read controls current value
while 1
test value = read controls current value
if test value <> old value then myfunction()
wend
Edited by quaizywabbit

[u]Do more with pre-existing apps![/u]ANYGUIv2.8

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  

×