| View previous topic :: View next topic |
| Author |
Message |
TucknDar
Joined: 07 Jan 2006 Posts: 47 Location: Oslo, Norway
|
Posted: Mon Jul 17, 2006 5:56 am Post subject: Total Commander Alt+tab fix |
|
|
Total Commander (http://www.ghisler.com/) has this feature where you can minimize it to the system tray. However, you can still alt+tab to it, but you'll then have to press Enter to restore it, i.e. the infamous (Press ENTER after Alt+Tab) message.
this tiny script fixes that.
| Code: | #Persistent
#SingleInstance force
#NoTrayIcon
SetTimer subTimer, 2000
subTimer:
If WinActive( "ahk_class switchwin2" )
{
SendInput, {Enter}
}
Return |
Just experiment with the subTimer setting. |
|
| Back to top |
|
 |
SanskritFritz
Joined: 17 Feb 2005 Posts: 280 Location: Hungary, Budapest
|
|
| Back to top |
|
 |
TucknDar
Joined: 07 Jan 2006 Posts: 47 Location: Oslo, Norway
|
Posted: Mon Jul 17, 2006 9:31 am Post subject: |
|
|
Of course not! If there's anything that could benefit from a change in the tiny piece of code, just do so.
oh, and as you may have noticed, the basic "skeleton" of the script was shamelessly stolen from your "TC title dir script"  |
|
| Back to top |
|
 |
SanskritFritz
Joined: 17 Feb 2005 Posts: 280 Location: Hungary, Budapest
|
|
| Back to top |
|
 |
|