AutoHotkey: Run or activate Total Commander: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
(Using environment variables in paths, so the script is more portable now.)
Line 2: Line 2:
  !+w::
  !+w::
  if not WinExist( "ahk_class TTOTAL_CMD" )
  if not WinExist( "ahk_class TTOTAL_CMD" )
  Run c:\Program Files\Total Commander\TOTALCMD.EXE
  Run "%COMMANDER_PATH%\Totalcmd.exe"
  WinActivate
  WinActivate
  Return
  Return

Revision as of 12:21, 7 April 2006

; Alt-Shift-W (Run or activate Total Commander)
!+w::
	if not WinExist( "ahk_class TTOTAL_CMD" )
		Run "%COMMANDER_PATH%\Totalcmd.exe"
	WinActivate
	Return




Back to AutoHotkey