CyberFunk Productions Posted May 4, 2004 Posted May 4, 2004 is there any way to send keys to a hidden window???
emmanuel Posted May 4, 2004 Posted May 4, 2004 ControlSend will send to hidden windows. From the help file: ControlSend ( "title", "text", "classnameNN", "string" [, flag] ) "I'm not even supposed to be here today!" -Dante (Hicks)
scriptkitty Posted May 4, 2004 Posted May 4, 2004 ControlSend -------------------------------------------------------------------------------- Sends a string of characters to a control.This works with most windows, and most of the send keys. It is one of the best ways to use send. Use autoitspy to find the control (usually Edit1, or something, or you can try it blank. ControlSend("WindowName","","","Hi I am text") Best to use the control if possible, it is more acurate. Also make sure to use the option: Opt("WinDetectHiddenText", 1) ;0=don't detect, 1=do detect It will save a few headaches. AutoIt3, the MACGYVER Pocket Knife for computers.
CyberFunk Productions Posted May 5, 2004 Author Posted May 5, 2004 what about the class name of a comand prompt, i can't seem to find the classname of that
scriptkitty Posted May 5, 2004 Posted May 5, 2004 If you use a dos window, leave the classnameNN blank. controlsend(@comspec,"","","Text to send") AutoIt3, the MACGYVER Pocket Knife for computers.
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