Guest mark1221 Posted September 12, 2004 Posted September 12, 2004 I have the name of a window and i want to be able to: 1. make that window active 2. show it 3. press "z" and "x" fast(xzxzxzxzxzxzxz....) I hope i explained what i need but try to help me even if i didn't
Billy Posted September 12, 2004 Posted September 12, 2004 Well, to activate a window use: WinActivate("Name of the Window") To send keystrokes use: Send("zxzxzxzxzxzx") But you probably want the text in a specified area. Therefore use: ControlSend("Name of the Window", "", "classname from AU3_Spy", "zxzxzxzxzxzxzx") Use AU3_Spy and place your cursor in the text area that you want to type into. The section called "Last Control Under Mouse" gives you the name to put into the classname parameter.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now