Jump to content

Recommended Posts

Posted

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

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
×
×
  • Create New...