Code: Select all
Gui, Add, DropDownList, w370 vDDL_Text gDDL_Changed, none|Solstice|Pulsar C|Orion
Gui, Show, x356 y116 h452 w373, New GUI Window
Return
#SingleInstance, Force
;BlockInput Off
SetDefaultMouseSpeed, 4
GuiClose:
ExitApp
DDL_Changed:
Gui,Submit,Nohide
{
if (DDL_Text = "Solstice")
{
Hotkey,~LButton,Solstice,On
}
else if((DDL_Text = "Pulsar C"))
{
}
else if((DDL_Text = "Orion"))
{
}
else
Hotkey,~LButton,Solstice,Off
return
Solstice:
while(GetKeyState("LButton", "P"))
;
DllCall("mouse_event",uint,1,int,-1,int,1,uint,0,int,0)
;
return
}