Advertisement
Guest User

thinkorswim.ahk

a guest
Dec 2nd, 2022
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5.  
  6. SetTitleMatchMode, 2
  7. SetTitleMatchMode, fast
  8.  
  9. Numpad4::
  10. if WinExist("SPY, SPY")
  11. WinActivate ;
  12. return
  13.  
  14. Numpad7::
  15. if WinExist("SPY, /ES:XCME")
  16. WinActivate ;
  17. return
  18.  
  19. Numpad8::
  20. if WinExist("SPY, SPX")
  21. WinActivate ;
  22. return
  23.  
  24. Numpad9::
  25. if WinExist("SPY, IVV")
  26. WinActivate ;
  27. return
  28.  
  29. Numpad5::
  30. if WinExist("All Products")
  31. WinActivate ;
  32. return
  33.  
  34. Numpad6::
  35. SetTitleMatchMode, 1
  36. if WinExist("Paper@thinkorswim")
  37. WinActivate ;
  38. return
  39.  
  40. Numpad1::
  41. if WinExist("ahk_exe msedge.exe")
  42. WinActivate ;
  43. return
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement