Mouse Macros and Logitech Gaming Software – My Setup

Author: | Posted in pc software 22 Comments



I get numerous questions on my mouse/controls setup, so right here is how I do cool stuff like transferring issues out of my stock in a flash. 🙂 Code talked about is proven under, and correctly formatted at pastebin right here: https://pastebin.com/hP0Ehqvf

operate OnEvent(occasion, arg)
–OutputLogMessage(“occasion = %s, arg = %sn”, occasion, arg);

— open a cargo/corpse, press loot all, and exit corpse
if (occasion == “MOUSE_BUTTON_PRESSED” and arg == 4) then
PressAndReleaseKey(“f”)
Sleep(250)
MoveMouseTo( 52489, 9232)
PressAndReleaseMouseButton(1)
PressAndReleaseKey(“f”)
finish

— Cargo is already open, loot all and exit
if (occasion == “MOUSE_BUTTON_PRESSED” and arg == 10) then
MoveMouseTo( 52489, 9232)
PressAndReleaseMouseButton(1)
PressAndReleaseKey(“f”)
finish

— use this code between this and the under dashed line to seek out display screen coordinates
— Click on your mouse on the situation and it’ll present up within the grey output window under
if (occasion == “MOUSE_BUTTON_PRESSED” and arg == 1) then
x, y = GetMousePosition();
OutputLogMessage(“Mouse is at %d, %dn”, x, y);
finish
— You may delete the code between this and the above inexperienced
— “Click on your mouse” remark in the event you now not want to seek out coordinates

finish

♫ ♪ Music:
“Present Your Strikes” by Kevin MacLeod (incompetech.com) licensed underneath Inventive Commons: By Attribution 3.Zero License http://creativecommons.org/licenses/by/3.0/

source

Comments
  1. Posted by Kursutin
  2. Posted by Numaz
  3. Posted by Porggo
  4. Posted by Goblin Heli
  5. Posted by Bill Fromal
  6. Posted by tukor
  7. Posted by Tie Kuhn
  8. Posted by Cave Man
  9. Posted by Jeff M.
  10. Posted by ShabaN_TV
  11. Posted by Mozo Tyce
  12. Posted by Luiz Felipe
  13. Posted by King Ownage
  14. Posted by Gabrielle Dobrzykowski
  15. Posted by علاوي و مريوم
  16. Posted by Ergin Duran
  17. Posted by Panda Guy21
  18. Posted by Drayton359
  19. Posted by Naranu
  20. Posted by Danknado.
  21. Posted by TulRid
  22. Posted by loat

Add Your Comment