Sign in to follow this  
Followers 0
xandout

Completed AutoIT SYS RESTORE apps cd!!!!

6 posts in this topic




I see that you've got a lot of Send commands in your different installer scripts, did you try using ControlSetText? The reason why I ask is Send can fail to enter what you want if the computer lags for some reason and/or it can also be interrupted if someone clicks away from the window you're trying to enter things into (or if another window gets focus somehow).

Share this post


Link to post
Share on other sites

i dont understand how to implement that command for use with my code could i get an in use example?

Share this post


Link to post
Share on other sites

Example from the Help File:

Run("notepad.exe")
WinWait("Untitled -")
ControlSetText("Untitled -", "", "Edit1", "New Text Here" )

You can get the name of the controls (usually) by using the AU3Info tool that you'll find under Tools in SciTE.

Share this post


Link to post
Share on other sites

i get the usage as it pretains to the help file but im not entering any text at all im just clicking alot are you saying i could use ControlSetText to send my {ENTER} and {SPACE}? if so please show me how in a workable example or explain it please.

Share this post


Link to post
Share on other sites

Fair enough, now that I notice that you're mostly not entering text, you should be able to use ControlClick in most of those cases if you can get the control ids (using the AU3Info tool).

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