Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

You can do this using CGEventTap but it requires that the application is given accessibility permissions in "System Preferences - Security & Privacy - Privacy - Accessibility".

See this answerthis answer for a complete example.

If you need help converting this to Swift, let me know.

You can do this using CGEventTap but it requires that the application is given accessibility permissions in "System Preferences - Security & Privacy - Privacy - Accessibility".

See this answer for a complete example.

If you need help converting this to Swift, let me know.

You can do this using CGEventTap but it requires that the application is given accessibility permissions in "System Preferences - Security & Privacy - Privacy - Accessibility".

See this answer for a complete example.

If you need help converting this to Swift, let me know.

Source Link
lemonmojo
  • 743
  • 5
  • 20

You can do this using CGEventTap but it requires that the application is given accessibility permissions in "System Preferences - Security & Privacy - Privacy - Accessibility".

See this answer for a complete example.

If you need help converting this to Swift, let me know.