Guest User

SM autoscroll

a guest
Jan 15th, 2019
2,077
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;AutoHotkey script for Slave Matrix auto-scrolling
  2. ;Download and install AutoHotkey, then copy-paste this code into new file with ".ahk" extension
  3. ;press the key (default: s) to start the scrolling action, press it again to stop
  4. pressKey := false
  5. #ifwinactive Slave Matrix
  6. #MaxThreadsPerHotkey 2
  7. s:: ;this can be changed to whatever key you want
  8.     pressKey := ! pressKey
  9.     loop
  10.     {
  11.         if (!pressKey || !WinActive("Slave Matrix"))
  12.             return
  13.         click WheelUp
  14.         click WheelDown
  15.         sleep 50 ;this can be removed for hyper-speed
  16.     }
  17. return
RAW Paste Data