| View previous topic :: View next topic |
| Author |
Message |
sigeis
Joined: 24 Aug 2007 Posts: 34
|
Posted: Fri Dec 05, 2008 3:36 pm Post subject: Assign key in Mozilla Thunderbird |
|
|
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 |
|
 |
Carlol
Joined: 14 Aug 2006 Posts: 163 Location: CPH
|
Posted: Fri Dec 05, 2008 3:49 pm Post subject: |
|
|
Perhaps something like this:
| Code: | #IfWinActive, ahk_class MozillaUIWindowClass
Esc::Del
Return
#IfWinActive |
 |
|
| Back to top |
|
 |
sigeis
Joined: 24 Aug 2007 Posts: 34
|
Posted: Fri Dec 05, 2008 4:10 pm Post subject: |
|
|
| Carlol wrote: | Perhaps something like this:
| Code: | #IfWinActive, ahk_class MozillaUIWindowClass
Esc::Del
Return
#IfWinActive |
 |
Thanks but not work, the ESC key continue to close application.  |
|
| Back to top |
|
 |
sigeis
Joined: 24 Aug 2007 Posts: 34
|
Posted: Fri Dec 05, 2008 8:22 pm Post subject: |
|
|
| Anyone can help me? |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Dec 05, 2008 8:52 pm Post subject: |
|
|
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
|
Posted: Sat Dec 06, 2008 7:41 am Post subject: |
|
|
Thanks but not work, I changed with the \ key
#IfWinActive, ahk_class MozillaUIWindowClass
\::Del
#IfWinActive
Thanks again for your suggestions! |
|
| Back to top |
|
 |
|