AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Active Window

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
zebedee
Guest





PostPosted: Wed Apr 20, 2005 3:12 pm    Post subject: Active Window Reply with quote

It's probably a very obvious solution, but is there a way of ensuring that a script continues to run in it's own window whilst I do something in another window....? Am i making sense? It seems that my scripts run fine if left alone but if I touch the mouse or keyboard or don anything else the focus shifts and the script goes AWOL and trys to perform it's actions in my window.....
Any help is appreciated
Thanks Embarassed
Back to top
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Wed Apr 20, 2005 3:28 pm    Post subject: Reply with quote

It really depends what you're doing. If you're making your script do mouse movements and simulate keystrokes you might have to use alternatives like ControlClick or ControlSend instead (which may not work as great?), otherwise, use things like WinActivate or ControlFocus to keep focus to your script.
_________________

Back to top
View user's profile Send private message Visit poster's website
BoBo
Guest





PostPosted: Wed Apr 20, 2005 3:31 pm    Post subject: Reply with quote

No way pal. In any case where you've to fight with a running process about the access to the mouse and/or keyboard, your lost. AFAIK only Control-commands and Post-/SendMessage events won't interfere any manual action ...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group