Add MouseMover, available through right click of tray icon
This commit is contained in:
parent
cc3863b0d2
commit
b4637072a2
4
D3K.ahk
4
D3K.ahk
@ -1,6 +1,7 @@
|
||||
#Include, func.ahk
|
||||
|
||||
Menu, Tray, Icon, shell32.dll, 283 ; Set the tray icon to a keyboard
|
||||
Menu, Tray, Add, MouseMover ; Add item to tray icon right click for mouse mover
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Make sure the settings file exists, if not, create it
|
||||
@ -220,6 +221,9 @@ If (glovar = 1)
|
||||
|
||||
!+\::Run Settings.ahk ; Alt+Shift+\
|
||||
|
||||
MouseMover:
|
||||
Run, msmv.ahk
|
||||
Return
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; DTAC Solution Opener
|
||||
|
31
msmv.ahk
Normal file
31
msmv.ahk
Normal file
@ -0,0 +1,31 @@
|
||||
#SingleInstance, force
|
||||
|
||||
Gui, +AlwaysOnTop +ToolWindow
|
||||
|
||||
Gui, Add, Button, x3 y3 w55 h20 gStart vStart +Center, Start
|
||||
Gui, Add, Button, x3 y3 w55 h20 gStop vStop +Center, Stop
|
||||
Gui, Show, h28 w60, msmv
|
||||
GuiControl, Hide, Stop
|
||||
Return
|
||||
|
||||
Start:
|
||||
GuiControl, Hide, Start
|
||||
SetTimer, Msmv, 480000
|
||||
GuiControl, Show, Stop
|
||||
Return
|
||||
|
||||
Stop:
|
||||
GuiControl, Hide, Stop
|
||||
SetTimer, Msmv, off
|
||||
GuiControl, Show, Start
|
||||
Return
|
||||
|
||||
Msmv:
|
||||
MouseMove, 100, 0
|
||||
Sleep, 240000
|
||||
MouseMove, 0, 0
|
||||
Return
|
||||
|
||||
GuiClose:
|
||||
GuiEscape:
|
||||
ExitApp ; Closes the app when escape or the exit button is pressed
|
Loading…
Reference in New Issue
Block a user