Guest User

Untitled

a guest
May 21st, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. -- Umlaute without the hassle, hell yeah
  2. hs.hotkey.bind({'alt'}, 'u', function ()
  3. hs.eventtap.keyStrokes('ü')
  4. end)
  5.  
  6. hs.hotkey.bind({'shift', 'alt'}, 'u', function ()
  7. hs.eventtap.keyStrokes('Ü')
  8. end)
  9.  
  10. hs.hotkey.bind({'alt'}, 'a', function ()
  11. hs.eventtap.keyStrokes(' ä')
  12. end)
  13.  
  14. hs.hotkey.bind({'shift', 'alt'}, 'a', function ()
  15. hs.eventtap.keyStrokes(' Ä')
  16. end)
  17.  
  18. hs.hotkey.bind({'alt'}, 'o', function ()
  19. hs.eventtap.keyStrokes('ö')
  20. end)
  21.  
  22. hs.hotkey.bind({'shift', 'alt'}, 'o', function ()
  23. hs.eventtap.keyStrokes('Ö')
  24. end)
Add Comment
Please, Sign In to add comment