OSX application auto login.


/ Published in: AppleScript

Please fill application name, username and password.


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.