AutoHotkey: Popup the splitter menu: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(Link to the existing german page)
No edit summary
Line 20: Line 20:
  Return
  Return


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


[[de:AutoHotkey: Popup the splitter menu]]
[[de:AutoHotkey: Öffne das Kontextmenü Fensterteilung]]

Revision as of 11:11, 27 September 2005

; 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