This app automatically types the contents of a text script into an app. It's goal is to make it easier to make screen recordings where typing is necessary. Instead of doing it manually, the app will do it for you. Faster and without flubbing keys.
You can check out an intro video here:
- Download the AutoTyper-v#.#.#.zip file. Unzip it and copy the AutoTyper.app file to your Applications folder.
-
Create a .txt file with instructions in it (the full list of available instructions is in the Instructions sections further below).
-
Use the 'Choose Instructions File' button to select your script file.
-
Click on the app you want to output the script to in the 'Select App' section.
-
Click 'Run'. You may be asked to allow the app permissions in the System Preferences. This is required to let AutoTyper simulate a keyboard to do that actual typing. (Note that sometimes you have to delete the AutoTyper item, click Run, and turn it back on to reset it.)
Here are a few instruction examples to get you started.
-
The basic ways to type are
type: TEXT
,type-line: TEXT
, andtype-down:TEXT
. For example:type: Hello, World
type-line: Hello, World
type-down: Hello, World
-
The
type: TEXT
instruction doesn't add areturn/enter
after it finishes typing. (That it, it only types in the characters from yourTEXT
) -
type-line: TEXT
pressesreturn/enter
after typing yourTEXT
-
type-down: TEXT
presses the down arrow after typing yourTEXT
-
The
press: KEY
instruction is used for pressing a specificKEY
. (The full list of available keys is in the Keys section further below) -
The
press: MODIFIER: KEY
instruction holds the specificMODIFIER
while pressing theKEY
. For example:press: command: a
-
Multiple
MODIFIER
keys can be held while pressing a key like:press: option: shift: right-arrow
-
The
pause
instruction pauses typing until you pressF4
on your keyboard. This is the main thing I use to create breaks for talking when I'm doing scree recordings. -
The
pause: TIME
instruction pauses for the specified time (measured in seconds). I generally use this for little pauses (e.g.pause: 0.3
) to make it easier to track when I do thing like highlight and delete code.
This is the list of available instructions
Instruction | Description | |
---|---|---|
debug: on |
Remove all delays and pauses to fast-forward until |
|
Usage |
|
|
debug: off |
Restores all pauses so the instruction runs with their specified delays and pauses. |
|
Usage |
|
|
down |
Press the down arrow key one time. |
|
Usage |
|
|
down: NUMBER |
Presses the down arrow key the specified NUMBER of times. |
|
Usage |
|
|
end-lines |
Ends capturing lines that will be pasted via 'command + v' one at a time followed by pressing 'return' to move to a new line. The capture is started with 'start-lines'. |
|
Example |
|
|
end-lines-down |
Ends capturing lines that will be pasted via 'command + v' one at a time followed by pressing the down arrow. The capture is started with 'start-lines-down'. |
|
Example |
|
|
left |
Presses the left arrow key one time. |
|
Usage |
|
|
left: Number |
Presses the left arrow key the specified NUMBER of times. |
|
Usage |
|
|
paste: TEXT |
Pastes the TEXT by pressing 'command + v'. |
|
Usage |
|
|
paste-down: TEXT |
Pastes the TEXT by pressing 'command + v' then presses the down arrow. |
|
Usage |
|
|
paste-line: TEXT |
Pastes the TEXT by pressing 'command + v' then presses the return key to move to the next line. |
|
Usage |
|
|
paste-file: PATH |
Pastes the contents of the file at the given PATH by pressing 'command + v'. Note: You can get the PATH for a file by right clicking on it in the Finder then holding the 'option' key. When you do, the 'Copy' menu item will turn into 'Copy ... as Pathname' which is what PATH uses. |
|
Example |
|
|
paste-file-lines: PATH |
Pastes the contents of the file at the given PATH. Each line in the file is pasted individually via 'command + v'. The 'return' key is pressed after each line is pasted to move to the next line. Note: You can get the PATH for a file by right clicking on it in the Finder then holding the 'option' key. When you do, the 'Copy' menu item will turn into 'Copy ... as Pathname' which is what PATH uses. |
|
Example |
|
|
paste-file-lines-down: PATH |
Pastes the contents of the file at the given PATH. Each line in the file is pasted individually via 'command + v'. The down arrow is pressed after each line is pasted to move to the next line. Note: You can get the PATH for a file by right clicking on it in the Finder then holding the 'option' key. When you do, the 'Copy' menu item will turn into 'Copy ... as Pathname' which is what PATH uses. |
|
Example |
|
|
pause |
Pauses typing until F4 is pressed on the keyboard. |
|
Usage |
|
|
pause: TIME |
Pauses typing for the given amount of TIME which is measured in seconds. |
|
Examples |
|
|
press: KEY |
Presses the given KEY one time. Note: Only lower case letters can be used with 'press:'. Use 'press: shift: KEY' to make them upper case. Note: The list of available keys is listed in the Keys section below. |
|
Examples |
|
|
press: MODIFIERS: KEY |
Press the given KEY one time while holding down the MODIFIERS. The MODIFIERS are:
One or more MODIFIERS can be used at a time. Note: Only lower case letters can be used with 'press:'. Use 'press: shift: KEY' to make them upper case. Note: The list of available keys is listed in the Keys section below. |
|
Examples |
|
|
repeat: KEY |
Presses the KEY the specified NUMBER of times. Note: Only lower case letters can be used with 'repeat:'. Use 'repeat: shift: KEY' to make them upper case. Note: The list of available keys is listed in the Keys section below. |
|
Examples |
|
|
repeat: MODIFIERS: KEY |
Press the given KEY the specified NUMBER of times while holding down the MODIFIERS. The MODIFIERS are:
One or more MODIFIERS can be used at a time. Note: Only lower case letters can be used with 'repeat:'. Use 'repeat: shift: KEY' to make them upper case. Note: The list of available keys is listed in the Keys section below. |
|
Usage |
|
|
reset-delay |
Resets the minimum and maximum times that the random delay between key presses uses to their default values. |
|
Usage |
|
|
return |
Presses the 'return' key one time. |
|
Usage |
|
|
return: NUMBER |
Presses the 'return' key the specified NUMBER of times. |
|
Example |
|
|
right |
Presses the right arrow key one time. |
|
Usage |
|
|
right: NUMBER |
Presses the right arrow key the specified NUMBER of times. |
|
Example |
|
|
set-delay: TIME |
Sets the delay between key presses to TIME which is measured in seconds. |
|
Example |
|
|
set-delay: MIN: MAX |
Resets the minimum and maximum times that the random delay between key presses uses to MIN_TIME and MAX_TIME, respectively. |
|
Example |
|
|
space |
Presses the 'space' key one time. |
|
Usage |
|
|
space: NUMBER |
Presses the 'space' key the specified NUMBER of times. |
|
Example |
|
|
start-lines |
Starts capturing lines that will be pasted via 'command + v' one at a time followed by pressing 'return' to move to a new line. The capture continues until an 'end-lines' instruction is found. |
|
Usage |
|
|
start-lines-down |
Starts capturing lines that will be pasted via 'command + v' one at a time followed by pressing the down arrow. The capture continues until an 'end-lines-down' instruction is found. |
|
Example |
|
|
stop |
Stops the script from running. |
|
Usage |
|
|
tab |
Presses the 'tab' key one time. |
|
Usage |
|
|
tab: NUMBER |
Presses the 'tab' key the specified NUMBER of times. |
|
Example |
|
|
type: TEXT |
Types the given TEXT Notes:
|
|
Example |
|
|
type-down: TEXT |
Types the given TEXT followed by pressing the down arrow key. Notes:
|
|
Example |
|
|
type-line: TEXT |
Types the given TEXT followed by pressing the 'return' key. Notes:
|
|
Example |
|
|
up |
Presses the up arrow one time. |
|
Usage |
|
|
up: NUMBER |
Presses the up arrow the specified NUMBER of times |
|
Usage |
|
This is the list of keys available for use in
press:
and repeat:
instructions.
-
=
-
'
-
,
-
-
-
.
-
/
-
0
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
;
-
[
-
\
-
]
-
a
-
b
-
c
-
caps-lock
-
command
-
control
-
d
-
delete
-
down-arrow
-
e
-
end
-
enter
-
escape
-
f
-
f1
-
f10
-
f11
-
f12
-
f13
-
f14
-
f15
-
f16
-
f17
-
f18
-
f19
-
f2
-
f20
-
f3
-
f4
-
f5
-
f6
-
f7
-
f8
-
f9
-
F1
-
F2
-
F3
-
F4
-
F5
-
F6
-
F7
-
F8
-
F9
-
F10
-
F11
-
F12
-
F13
-
F14
-
F15
-
F16
-
F17
-
F18
-
F19
-
forward-delete
-
function
-
g
-
h
-
help
-
home
-
i
-
iso-section
-
j
-
jis-eisu
-
jis-underscore
-
jis-yen
-
jis_kana
-
k
-
keypad-0
-
keypad-1
-
keypad-2
-
keypad-3
-
keypad-4
-
keypad-5
-
keypad-6
-
keypad-7
-
keypad-8
-
keypad-9
-
keypad-clear
-
keypad-decimal
-
keypad-divide
-
keypad-enter
-
keypad-equals
-
keypad-jis-comma
-
keypad-minus
-
keypad-multiply
-
keypad-plus
-
l
-
left-arrow
-
m
-
mute
-
n
-
o
-
option
-
p
-
page-down
-
page-up
-
q
-
r
-
return
-
right-arrow
-
s
-
shift
-
space
-
t
-
tab
-
u
-
up-arrow
-
v
-
volume-down
-
volume-up
-
w
-
x
-
y
-
z
-
~
-
The app works on macOS 14.x. I'm not currently set up to test other versions.
-
The app was built on a U.S. keyboard. I'm not currently set up to test other keyboards. I think there will be some work to do to get other character sets to work. I don't know enough about that yet to know what to expect or what would need to be done.
From alan w smith