Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

AppleScript Tutorial: AutoTyper

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,555
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 14, 2010

How to make a simple AutoTyper using AppleScript.

Script (Copy/Paste this into Applescript Editor):

tell application "System Events"
set texttotype to "Put what you want to autotype here."
delay 3
repeat
keystroke texttotype
keystroke return
delay 1
end repeat
end tell
end

Category:

Film & Animation

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (TheMacInTheTosh)

  • it says system events not found :/ please answer

  • @ownagelord123 What operating system are you running?

  • hey please answer,! does anyone know a script that try all the keywords on the computer, totaly random (example: if we only have five keywords on our computer , like 12345. then the script will try them all. like 12345,54321,24531 etc.

  • @tibiaowned1 I don't really understand what you mean. Give me an example of a situation where you would use it and I might be able to tell you how to do it.

  • Any way to make it go faster?

  • @JulietBader If you mean less time between keystrokes, simply set the "delay number" after the "keystroke" to a lower number. Be aware, however, that if that number is set too low, or if the command is absent, you will have to restart your computer because it will freeze.

see all

All Comments (31)

Sign In or Sign Up now to post a comment!
  • what app did u use to make this vid?

  • I changed it a bit cuz i wanted to use it as auto spammer ;)

    it takes 3 seconds to say "hello world" again.

    i made it that you can choose how long it takes:

    instead of: 'delay 3', put in:

    delay (display dialog "How Fast Does It Need To Appear? (1-5)" default answer "")

    thumbs up if it worked and so others can see!

  • @tibiaowned1 Yeah, I know how to do this, PM me and I'll tell you.

  • Thanks a lot buddy! Great vid!! Really taught me some important programming things. I have not checked out any other vids yet. Im actually starting school soon for computer programming =D!!!

  • thanks so much!!!

    have been looking everywhere for a decent mac typer.. and the homemade one is the best! works flawlessly.

  • @TheMacInTheTosh dw i was being a dumbass and spelt system like "sytem" :P

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more