Jump to content

Send("{CTRL}")


Recommended Posts

Hello!

Send("{CTRL}") does not work, im making a script that will login, change password, and send a new mail to the user with the new password.

The only thing i want to do is to Send a Control keystroke, using "Send("{CTRLDOWN}")

Send("{CTRLUP}")" does'nt work since the program does'nt recognise it as pressing CTRL on the keyboard.

I've tried looking around in the help and on this forum but havent found anything that works.

Any ideas?

This is the sequence that did not work:

Sleep(2000)
Send("2")
Send("{TAB}")
Send(GUICtrlRead($userSTIS))
Send("{CTRLDOWN}")
Send("{CTRLUP}")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("Y")
Send("{CTRLDOWN}")
Send("{CTRLUP}")
Send("{TAB}")
Send($sPassword)
Send($sPassword)
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("Y")
Send("{CTRLDOWN}")
Send("{CTRLUP}")
Edited by Foderus
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...