AutoHotkey: Popup the splitter menu: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(Link to the existing german page)
(Added category AutoHotkey scripts)
 
(One intermediate revision by one other user not shown)
Line 20: Line 20:
  Return
  Return


Back to [[AutoHotkey]]
<BR>
----
<BR>Back to [[AutoHotkey]]<BR>


[[de:AutoHotkey: Popup the splitter menu]]
[[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