Sign in to follow this  
Followers 0
cazulp

Send function

3 posts in this topic

I am a newbie to AutoIt so bear with me. I am automating all our Corporate security settings for Windows 7 and have found it extremely challenging. One of the settings I have automated is the screen saver wait time. I am using the Send function but cannot send a value greated than 9 when I really need it to be 10(sending 10 gives an execution error as its treated as non-numeric). See below for some of the code.

Send("!w") ; position at Wait time setting

Sleep(1000)

Send("{9}") ; apply value

Any ideas as to how I can send 10, or greater if need be, would be much appreciated

Share this post


Link to post
Share on other sites



Not sure why, just thought it was that way. Thanks a ton for the help, now I can send any value I want.

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