AndrianBdn / waittype

WaitType app for Mac - wait a little bit and type command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WaitType

Ever needed to type some complicated string (password) somewhere where just pasting doesn't work?

For example:

  • VirtualBox or VMWare window (sure, it supports copy-paste, but what if it is running some obscure OS or mode when Cmd/Ctrl-V does not work)
  • VNC or RDP client, like typing password in VNC client for logging-in on Mac
  • or just some text field where paste function was disabled for whatever reason

Introducing WaitType: simple Mac app that simulates key press buttons from some string that you have pasted in its text field.

screenshot

Motivation

I used to use this Python / AppleScript to do that, but since macOS Mojave it requires Terminal.app to be added to Accessibility section of Security & Privacy.

To avoid this a created a simple separate app specifically for this function. You still have to add it to Accessibility section of Security & Privacy, but unlike Terminal it does not run arbitrary code all the time.

screenshot

In fact the source code of the app is easy to audit. The app is not using network or reading user files. Unfortunately it cannot be sandboxed, since it is using CGEventPost API.

Compatibility

I've tested the app on Mac OS X 10.10 and macOS 10.14. It uses pretty minimal system API, so perhaps it could be ported to earlier versions (although not too early, because of Swift).

About

WaitType app for Mac - wait a little bit and type command

License:MIT License


Languages

Language:Swift 80.3%Language:Rich Text Format 9.1%Language:C 8.6%Language:Objective-C 2.0%