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 

Assign key in Mozilla Thunderbird

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



Joined: 24 Aug 2007
Posts: 34

PostPosted: Fri Dec 05, 2008 3:36 pm    Post subject: Assign key in Mozilla Thunderbird Reply with quote

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!
Back to top
View user's profile Send private message
Carlol



Joined: 14 Aug 2006
Posts: 163
Location: CPH

PostPosted: Fri Dec 05, 2008 3:49 pm    Post subject: Reply with quote

Perhaps something like this:

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


Razz
Back to top
View user's profile Send private message
sigeis



Joined: 24 Aug 2007
Posts: 34

PostPosted: Fri Dec 05, 2008 4:10 pm    Post subject: Reply with quote

Carlol wrote:
Perhaps something like this:

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


Razz



Thanks but not work, the ESC key continue to close application. Shocked
Back to top
View user's profile Send private message
sigeis



Joined: 24 Aug 2007
Posts: 34

PostPosted: Fri Dec 05, 2008 8:22 pm    Post subject: Reply with quote

Anyone can help me?
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Dec 05, 2008 8:52 pm    Post subject: Reply with quote

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
Back to top
sigeis



Joined: 24 Aug 2007
Posts: 34

PostPosted: Sat Dec 06, 2008 7:41 am    Post subject: Reply with quote

Thanks but not work, I changed with the \ key


#IfWinActive, ahk_class MozillaUIWindowClass
\::Del
#IfWinActive


Thanks again for your suggestions!
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