/* * * * Compile_AHK SETTINGS BEGIN * * * [AHK2EXE] Exe_File=%In_Dir%\SoundsLake.exe Created_Date=1 Execution_Level=3 [ICONS] Icon_1=%In_Dir%\SoundsLake.ahk_1.ico * * * Compile_AHK SETTINGS END * * * */ ; author - Target ; date - Jan15 ; ; 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 #singleinstance, force #persistent ifnotexist, soundslake.ini { iniwrite, 25, soundslake.ini, sound, low iniwrite, 50, soundslake.ini, sound, high } menu, tray, nostandard Menu, tray, add, Settings menu, tray, add, Restart menu, tray, add, Quit iniread, low, soundslake.ini, sound, low iniread, high, soundslake.ini, sound, high return #f11:: soundset, %low% #f12:: soundset, %high% Settings: gui, add, text, x5 y15 w25, Low gui, add, edit, x+5 yp-5 w40 gui, add, updown, range0-100 vlow gupdate, %low% gui, add, text, x5 y+10 w25, High gui, add, edit, x+5 yp-5 w40 gui, add, updown, range0-100 vhigh gupdate, %high% gui, add, button, x80 y8 w50 h50 gclose, Close gui, -caption +border gui, show return update: gui, submit, nohide iniwrite, %low%, soundslake.ini, sound, low iniwrite, %high%, soundslake.ini, sound, high return close: gui, destroy return restart: reload return quit: exitapp return