AutoHotkey: Popup the splitter menu: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
 
(Added category AutoHotkey scripts)
 
(4 intermediate revisions by 3 users not shown)
Line 19: Line 19:
  }
  }
  Return
  Return
<BR>
----
<BR>Back to [[AutoHotkey]]<BR>
[[Category:AutoHotkey scripts|Popup the splitter menu]]
[[de:AutoHotkey: Öffne das Kontextmenü Fensterteilung]]

Latest revision as of 11:27, 31 May 2008

; Ctrl-G (Total Commander: splitter menu)
~^g::
	if not WinActive( "ahk_class TTOTAL_CMD" )
		Return

	WinGet sf_aControls, ControlList
	Loop Parse, sf_aControls, `n
	{
		StringLeft sf_sTemp, A_LoopField, 6
		if (sf_sTemp = "TPanel")
		{
			ControlGetPos Cx,Cy,Cw,Ch, %A_LoopField%
			if (Cw < 16)
			{
				ControlClick %A_LoopField%, A,,RIGHT
				Break
			}
		}
	}
	Return




Back to AutoHotkey