Advertisement
Guest User

memes

a guest
Aug 16th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. use f keys to switch between four most commonly used tabs on debtrecovery. not very versatile yet and alt+tab is a bodge to get your cursor back in a textbox if that was where it was prior to running the macro... thought u might like the idea though.
  3.  
  4.  
  5. f1::
  6.     WinActivate, ahk_class Chrome_WidgetWin_1
  7.     MouseGetPos, old1, old2
  8.     MouseClick,, 43, 624
  9.     MouseMove old1, old2
  10.     SendInput {Alt down}
  11.     sleep 50
  12.     SendInput {Tab down}
  13.     sleep 50
  14.     SendInput {Alt up}
  15.     sleep 50
  16.     SendInput {Tab up}
  17. Return
  18.  
  19. ;switch to details tab
  20.  
  21. f2::
  22.     WinActivate, ahk_class Chrome_WidgetWin_1
  23.     MouseGetPos, old1, old2
  24.     MouseClick,, 105, 624
  25.     MouseMove old1, old2
  26.     SendInput {Alt down}
  27.     sleep 50
  28.     SendInput {Tab down}
  29.     sleep 50
  30.     SendInput {Alt up}
  31.     sleep 50
  32.     SendInput {Tab up}
  33. Return
  34.  
  35. ;switch to history tab
  36.  
  37. f3::
  38.     WinActivate, ahk_class Chrome_WidgetWin_1
  39.     MouseGetPos, old1, old2
  40.     MouseClick,, 450, 624
  41.     MouseMove old1, old2
  42.     SendInput {Alt down}
  43.     sleep 50
  44.     SendInput {Tab down}
  45.     sleep 50
  46.     SendInput {Alt up}
  47.     sleep 50
  48.     SendInput {Tab up}
  49. Return
  50.  
  51. ;switch to actions tab
  52.  
  53. f4::
  54.     WinActivate, ahk_class Chrome_WidgetWin_1
  55.     MouseGetPos, old1, old2
  56.     MouseClick,, 640, 624
  57.     MouseMove old1, old2
  58.     SendInput {Alt down}
  59.     sleep 50
  60.     SendInput {Tab down}
  61.     sleep 50
  62.     SendInput {Alt up}
  63.     sleep 50
  64.     SendInput {Tab up}
  65. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement