CoordMode, Mouse, Client
#NoEnv
#NoTrayIcon
SetTitleMatchMode, 2
tooltip, Sylenth1 synth
settimer, removetooltip, 500
Menu, Sylenth1_menu, add
Menu, Sylenth1_menu, add, Show menu "P", menu_label
Menu, Sylenth1_menu, add, About, about_label
Menu, Sylenth1_menu, add, Exit, exit_label
return
menu_label:
click, left, 550, 240
return
about_label:
gui, add, edit, readonly,
(
p - show Sylenth1 basic menu
)
gui, show, maximize, Help for hotkeys
return
#IfWinActive, Help for hotkeys
esc::gui, hide
return
exit_label:
ExitApp
return
#IfWinActive, FX:
ControlGet, text, list, focused, SysListView321, FX:
If (%text% = "Sylenth1")
{
WinMaximize
p::click, left, 550, 240
^!+f::menu, Sylenth1_menu, show
}
return
removetooltip:
settimer, removetooltip, off
tooltip
return
#IfWinNotActive, FX:
^+x::ExitApp
return