sd333221 Posted December 16, 2005 Posted December 16, 2005 Can you send keys to hidden windows, without activating them? =) that would revolutionize whole autoit
sd333221 Posted December 17, 2005 Author Posted December 17, 2005 ControlSend()???8)If i use this, the window pops up :-)
Valuater Posted December 17, 2005 Posted December 17, 2005 i didn't think it did... i will check that now 8)
Valuater Posted December 17, 2005 Posted December 17, 2005 nope... it does not tested with this Run("Notepad.exe", "", @SW_MAXIMIZE) WinWait("") Send("!{TAB}") sleep(4000) ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window") 8)
Moderators SmOke_N Posted December 17, 2005 Moderators Posted December 17, 2005 Can you send keys to hidden windows, without activating them? =) that would revolutionize whole autoit nope... it does not tested with this Run("Notepad.exe", "", @SW_MAXIMIZE) WinWait("") Send("!{TAB}") sleep(4000) ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window") 8) You mean this? Run("Notepad.exe", "", @SW_HIDE) WinWait("") Send("!{TAB}") sleep(4000) ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window") Sleep(4000) WinSetState("Untitled - Notepad", "", @SW_SHOW) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Valuater Posted December 17, 2005 Posted December 17, 2005 nope... i wanted him to have to look for the page ControlSend() sent text to to prove it would NOT be set active/on-top 8)
Moderators SmOke_N Posted December 17, 2005 Moderators Posted December 17, 2005 Well i guess both examples show it... you're getting a bit furtive lately Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Valuater Posted December 17, 2005 Posted December 17, 2005 fur·tive [ fúrtiv ]adjective Definitions: 1. secretive: done in a way that is intended to escape notice conspirators exchanging furtive glances 2. shifty: presenting the appearance, or giving the impression, of somebody who has something to hide i dont think that was it 8)
Moderators SmOke_N Posted December 17, 2005 Moderators Posted December 17, 2005 The synonyms of the word was what I was after... something like "artful" ... "cunning"... I used it in the wrong sytax (kind of like my coding ) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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