Advertisement
Guest User

kanjitomo qolibri

a guest
Feb 3rd, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. ;--<Search Kanjitomo word into qolibri -- Press (Windows F)>
  2. #f::
  3. If WinExist("KanjiTomo" "ahk_class SunAwtFrame")
  4. {
  5. clipboard=
  6. WinActivate
  7. sleep 40
  8. Click 400, 285
  9. Send ^a
  10. Send ^c
  11. sleep, 100
  12. ClipWait, 1
  13. If WinExist("qolibri -" "ahk_class QWidget")
  14. {
  15. WinActivate
  16. WinMove, qolibri - , ,328, 133 ;remove this line if you don't want the window changing positions
  17. sleep 40
  18. Click 280, 70
  19. Send ^a
  20. Send {Delete}
  21. Send %clipboard%`n
  22.  
  23. }
  24. return
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement