Guest User

Untitled

a guest
Feb 1st, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. Joy10:: ; right stick button press (not on his axis)
  2. KeyWait, Joy10, T1 ; Wait 1 seconds
  3. if (ErrorLevel = 1)
  4. {
  5. ;Send, % "#" "d" ;get back to the desktop
  6. Winactivate, ahk_exe explorer.exe ; activate explorer.exe, you dont go back to desktop, test as windowed game, not in fullscreen
  7. ;MsgBox Held
  8. }
  9. else
  10. {
  11. ;MsgBox Tapped
  12. run C:\Users\clement\Desktop\JoystickMouse.ahk ; activate the joystickmouse script. if you have your own version of joymouse script,
  13. ; add a way to exit it. i did it in my version at the end of the script.
  14. ; there is a way to do it from here, but i can't make it work,
  15. ; would need the id process of the ahk script or something else.
  16. }
  17. return
Add Comment
Please, Sign In to add comment