Code: Select all
#Persistent ; Keep this script running until the user explicitly exits it.
SetTimer, WatchAxis, 10
return
WatchAxis:
xas := GetKeyState("JoyX")
yas := GetKeyState("JoyY")
if (yas = 0) ; UP
SetTimer, WaitForUp, 10
else if (yas = 100) ; DOWN
SetTimer, WaitForDown, 10
else if (xas = 100) ; RIGHT
SetTimer, WaitForRight, 10
else if (xas = 0) ; LEFT
SetTimer, WaitForLeft, 10
return
WaitForUp: ;Up clean
if (GetKeyState("JoyY") = 0)
return
send, {F13 up}{F14 up}{F15 up}
SetTimer, WaitForUp, Off
Progress, B X2460 Y1365 H35 W100 zh0 fs16 CTWhite CW8A2Be2, Folders,, Profile
WinSet, Transparent, 150, Profile
SetTimer, Off, 2000
return
WaitForDown: ;Down F13
if (GetKeyState("JoyY") = 100)
return
send, {F14 up}{F15 up}
send {F13 down}
SetTimer, WaitForDown, Off
Progress, B X2460 Y1365 H35 W100 zh0 fs16 CTWhite CW8A2Be2, Server,, Profile
WinSet, Transparent, 150, Profile
SetTimer, Off, 2000
return
WaitForRight: ;Right F14
if (GetKeyState("JoyX") = 100)
return
send, {F13 up}{F15 up}
send {F14 down}
SetTimer, WaitForRight, Off
Progress, B X2460 Y1365 H35 W100 zh0 fs16 CTWhite CW8A2Be2, Games,, Profile
WinSet, Transparent, 150, Profile
SetTimer, Off, 2000
return
WaitForLeft: ;Left F15
if (GetKeyState("JoyX") = 0)
return
send, {F13 up}{F14 up}
send {F15 down}
SetTimer, WaitForLeft, Off
Progress, B X2460 Y1365 H35 W100 zh0 fs16 CTWhite CW8A2Be2, Google,, Profile
WinSet, Transparent, 150, Profile
SetTimer, Off, 2000
return
Off:
Progress, Off
SetTImer, Off, Off
Return
Joy1::
if GetKeyState("F13")
run D:\Program Files\FileZilla FTP Client\filezilla.exe
else if GetKeyState("F14")
run D:\Program Files (x86)\Epic Games\Launcher\Portal\Binaries\Win32\EpicGamesLauncher.exe
else if GetKeyState("F15")
run C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -incognito
else
run shell:::{645FF040-5081-101B-9F08-00AA002F954E} ;bin folder
return
Joy2::
if GetKeyState("F13")
run, cmd.exe, C:\Users\Ryzen
else if GetKeyState("F14")
run C:\Program Files (x86)\Battle.net\Battle.net Launcher.exe
else if GetKeyState("F15")
run C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -incognito
else
WinGet, currentTransparency, Transparent, A
if (currentTransparency = OFF)
WinSet, Transparent, 200, A
else
WinSet, Transparent, OFF, A
return
Joy9::
if GetKeyState("F13")
run D:\Program Files\PuTTY\putty.exe -load raspi-media-server
else if GetKeyState("F14")
run C:\Program Files (x86)\Steam\steam.exe
else if GetKeyState("F15")
run C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -incognito
else
run shell:::{20d04fe0-3aea-1069-a2d8-08002b30309d} ;this pc folder
return
Joy10::
if GetKeyState("F13")
run https://www.sennaveldhuizen.nl
else if GetKeyState("F14")
run C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\UbisoftConnect.exe
else if GetKeyState("F15")
run C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -incognito
else
run shell:::{374DE290-123F-4565-9164-39C4925E467B} ;downloads folder
return