HizkiFW

MS Word Equation Shortucts

Oct 16th, 2016
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.40 KB | None | 0 0
  1. HotKeySet("{ESC}", "Terminate")
  2. Func Terminate()
  3.    Exit
  4. EndFunc
  5.  
  6. HotKeySet("^/", "frac")
  7. HotKeySet("^'", "pow")
  8. Func frac()
  9.    Send("{LALT}")
  10.    Sleep(10)
  11.    Send("je")
  12.    Sleep(10)
  13.    Send("f")
  14.    Sleep(10)
  15.    Send("{ENTER}")
  16. EndFunc
  17. Func pow()
  18.    Send("{LALT}")
  19.    Sleep(10)
  20.    Send("je")
  21.    Sleep(10)
  22.    Send("s")
  23.    Sleep(10)
  24.    Send("{ENTER}")
  25. EndFunc
  26.  
  27. While 1
  28.    Sleep(1)
  29. WEnd
Advertisement
Add Comment
Please, Sign In to add comment