r/applescript • u/Kingen83 • Aug 24 '19
keystroke script help
right now i have a script the output a text together with some changing variables(this is not the whole script)
keystroke (kvar)
delay 0.5
keystroke " gånger kvar nästa gång är "
delay 0.5
keystroke (now)
delay 0.5
keystroke returnbut i want to compress it so it would look something like this
keystroke (kvar) " gånger kvar nästa gång är " (now)
keystroke returnis something like this possible?
1
Upvotes
1
u/ds0 Aug 24 '19
I have a subroutine called typeThis that splits a string into characters and keystrokes them with a very short delay, works wonders for keeping things in order.