AutoHotkey Community

It is currently May 26th, 2012, 1:37 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: December 5th, 2008, 4:36 pm 
Offline

Joined: August 25th, 2007, 12:58 am
Posts: 34
Hi all, I use the Esc::Send, !{F4} hotstring to close any open application in my pc.

Now, I would like that the ESC key take the function to delete email in Mozilla Thunderbird as assigned to the Del key.

Can you help me?

Thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2008, 4:49 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
Perhaps something like this:

Code:
#IfWinActive, ahk_class MozillaUIWindowClass
Esc::Del
Return
#IfWinActive


:P


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2008, 5:10 pm 
Offline

Joined: August 25th, 2007, 12:58 am
Posts: 34
Carlol wrote:
Perhaps something like this:

Code:
#IfWinActive, ahk_class MozillaUIWindowClass
Esc::Del
Return
#IfWinActive


:P



Thanks but not work, the ESC key continue to close application. :shock:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2008, 9:22 pm 
Offline

Joined: August 25th, 2007, 12:58 am
Posts: 34
Anyone can help me?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2008, 9:52 pm 
this is more secure (won't disturb firefox and other mozilla products):

Code:
SetTitleMatchMode Slow
SetTitleMatchMode Regex

#ifwinactive .*Thunderbird ahk_class MozillaUIWindowClass
*$esc::del
#ifwinactive


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 6th, 2008, 8:41 am 
Offline

Joined: August 25th, 2007, 12:58 am
Posts: 34
Thanks but not work, I changed with the \ key


#IfWinActive, ahk_class MozillaUIWindowClass
\::Del
#IfWinActive


Thanks again for your suggestions!


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Newl, patgenn123, poserpro, Yahoo [Bot] and 18 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