i have a few scripts i would kinda like to switch between only way i can switch between them is to do f2 and go inn folder to open new, is there a way to make it so i can use f1-f5 to open them, if some one would help me with that it would be perfect here are the scripts:
#NoEnv
SendMode Input
~F6::Suspend
~F2::ExitApp
LCtrl & ~LButton::
Loop
If GetKeyState("LButton") {
Sleep,6
moveAmount := (moveAmount = 2) ?6 : 0
mouseXY(moveAmount,4.4)
}
else
break
Return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uin t,0)
}
#NoEnv
;#NoTrayIcon
#KeyHistory, 0
#SingleInstance, Force
SendMode, Input
~F6::Suspend
~F2::ExitApp
Y( a, y ) {
DllCall( "mouse_event", int, 1, int, x, int, y, uint, 0, uint, 0 )
}
X( b, x ) {
DllCall( "mouse_event", int, 1, int, x, int, y, uint, 0, uint, 0 )
}
~LCtrl & ~LButton::
Loop {
Sleep, 25
Y( moveAmount, 5.9 )
X( moveAmount, -2 )
If Not GetKeyState( "LButton" ) {
Break
}
}
Return
#NoEnv
;#NoTrayIcon
#KeyHistory, 0
#SingleInstance, Force
SendMode, Input
~F6::Suspend
~F2::ExitApp
Y( a, y ) {
DllCall( "mouse_event", int, 1, int, x, int, y, uint, 0, uint, 0 )
}
X( b, x ) {
DllCall( "mouse_event", int, 1, int, x, int, y, uint, 0, uint, 0 )
}
~LCtrl & ~LButton::
Loop {
Sleep, 4
Y( moveAmount, 3.8 )
X( moveAmount, -0 )
If Not GetKeyState( "LButton" ) {
Break
}
}
Return
#NoEnv
SendMode Input
~F6::Suspend
~F2::ExitApp
LCtrl & ~LButton::
Loop
If GetKeyState("LButton", "LCtrl") {
Sleep, 5
moveAmount := (moveAmount = 2) ? 1 : -1
mouseXY(moveAmount,3.4)
}
else
break
Return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0.5,u int,0.5)
}
#NoEnv
;#NoTrayIcon
#KeyHistory, 0
#SingleInstance, Force
SendMode, Input
~F6::Suspend
~F2::ExitApp
Y( a, y ) {
DllCall( "mouse_event", int, 1, int, x, int, y, uint, 0, uint, 0 )
}
X( b, x ) {
DllCall( "mouse_event", int, 1, int, x, int, y, uint, 0, uint, 0 )
}
~LCtrl & ~LButton::
{
Sleep, 40
Y( moveAmount, 30 )
X( moveAmount, -8 )
}
#NoEnv
SendMode Input
~F6::Suspend
~F2::ExitApp
LCtrl & ~LButton::
Loop
If GetKeyState("LButton", "LCtrl") {
Sleep, 5
moveAmount := (moveAmount = 2) ? 3 : 0
mouseXY(moveAmount,1.4)
}
else
break
Return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0.5,u int,0.5)
}