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 

porblem with sending key while windows is looked

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
lundgren



Joined: 30 Jul 2007
Posts: 3
Location: sweden

PostPosted: Fri Mar 12, 2010 9:16 am    Post subject: porblem with sending key while windows is looked Reply with quote

Hi,

I want to send a key command to close a popup when the computer is looked by sending ALT+N but the key doesn't close the popup
the script waits for the window and then activates it and sends the Key
but it seems that windows not allowing the key to be sent
any one know how i should do to get the key to the popup ???

hear is the script:
WinWait,SDA 4.1.0,Do you want to download the vbf files to an external medium before proceeding?,10
{
if ErrorLevel
{
ExitApp,-1
}else{
WinActivate,SDA 4.1.0,Do you want to download the vbf files to an external medium before proceeding?
Sleep, 100
Send {Alt Down}+N+{Alt Up}
ExitApp, 0
}
}
Back to top
View user's profile Send private message
TLM



Joined: 21 Aug 2006
Posts: 2926
Location: The Shell

PostPosted: Fri Mar 12, 2010 11:59 am    Post subject: Reply with quote

Please make sure the language tool your using works!

Some links that may help:

http://www.autohotkey.com/forum/viewtopic.php?t=53429
http://www.autohotkey.com/forum/viewtopic.php?t=52502
http://www.autohotkey.com/forum/viewtopic.php?t=51748
http://www.autohotkey.com/forum/viewtopic.php?t=52267
http://www.autohotkey.com/forum/viewtopic.php?t=51634
_________________
paradigm.shift:=(•_•)┌П┐RTFM||^.*∞
Back to top
View user's profile Send private message
Display posts from previous:   
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