Posted By

hashibuto on 09/16/09


osx username auto-login

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


OSX application auto login.

 / Published in: AppleScript

Please fill application name, username and password.

  1. tell application "***App name***"
  2. activate
  3. end tell
  4. tell application "System Events"
  5. -- #102 is NFER key in JIS keyboard. This line is necessary for Japanese user only.
  6. key code 102
  7. keystroke "***Your ID***"
  8. keystroke tab
  9. keystroke "***Your PW***"
  10. keystroke return
  11. end tell

Report this snippet  


RSS Icon Subscribe to comments
Posted By: hashibuto on September 16, 2009

Wow, I found I've miss-understood what snippet is... This is script not snippet. I should to move this another place.

Posted By: hashibuto on September 16, 2009

I renamed this script name from "Beak auto login" to "OSX app auto-login". This script is showing how to automatically open an application and type keystrokes.

You need to login to post a comment.