-- Define Gesture (up)
-- For Win7/8 -- directory control -- If current windows is Explorer window, -- then "go Up" a folder level(different than go back)
-- Stretch window control -- otherwise, make this current windows stretch up -- to fit the screen (width not change)
local iWindow = acGetForegroundWindow() local iProgram = acGetExecutableName(iWindow, 0, 0)
if iProgram == "explorer.exe" then acSendKeys("%{UP}") else acSendKeys("@+{UP}") end
|