taind Posted November 8, 2006 Share Posted November 8, 2006 (edited) The Send function only send simulated keystrokes to the active window.How to use that ( function Send ) to send simulated keystrokes to the deactive window.Please help me by anyway !All thank !Example: I run notepad.exe, and i run a script which send to notepad window the key {a} when the notepad window is deativating.And the script only send key {a} to the notepad window. Edited November 8, 2006 by taind Link to comment Share on other sites More sharing options...
NELyon Posted November 8, 2006 Share Posted November 8, 2006 Forum Rules This is not a general support forum! Big red letters at the top Eh, i'll help anyways Opt("WinTitleMatchMode", 2) Run("notepad.exe") ControlSend("Untitled -", "", "Edit1", "Text") Link to comment Share on other sites More sharing options...
spyrorocks Posted November 8, 2006 Share Posted November 8, 2006 I wonder why people cant seem to see thoes words everywhere... [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
taind Posted November 8, 2006 Author Share Posted November 8, 2006 Forum Rules This is not a general support forum! Big red letters at the top Eh, i'll help anyways Opt("WinTitleMatchMode", 2) Run("notepad.exe") ControlSend("Untitled -", "", "Edit1", "Text") If i wish send {F1} key to notepad window. Does the code below run exactly ? Thank for read ! Link to comment Share on other sites More sharing options...
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