Guest User

Untitled

a guest
Nov 22nd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. -- Umlaute
  2.  
  3. hs.hotkey.bind({'alt'}, 'u', function ()
  4. hs.eventtap.keyStrokes('ü')
  5. end)
  6.  
  7. hs.hotkey.bind({'shift', 'alt'}, 'u', function ()
  8. hs.eventtap.keyStrokes('Ü')
  9. end)
  10.  
  11. hs.hotkey.bind({'alt'}, 'a', function ()
  12. hs.eventtap.keyStrokes(' ä')
  13. end)
  14.  
  15. hs.hotkey.bind({'shift', 'alt'}, 'a', function ()
  16. hs.eventtap.keyStrokes(' Ä')
  17. end)
  18.  
  19. hs.hotkey.bind({'alt'}, 'o', function ()
  20. hs.eventtap.keyStrokes('ö')
  21. end)
  22.  
  23. hs.hotkey.bind({'shift', 'alt'}, 'o', function ()
  24. hs.eventtap.keyStrokes('Ö')
  25. end)
  26.  
  27. -- Euro
  28.  
  29. hs.hotkey.bind({'alt'}, 'e', function ()
  30. hs.eventtap.keyStrokes('€')
  31. end)
Add Comment
Please, Sign In to add comment