AutoHotkey Community

It is currently May 27th, 2012, 5:30 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: March 12th, 2010, 10:16 am 
Offline

Joined: July 30th, 2007, 2:14 pm
Posts: 3
Location: sweden
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
}
}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 12th, 2010, 12:59 pm 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
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

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: dra, HotkeyStick, rbrtryn, Yahoo [Bot] and 68 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group