/ Published in: AppleScript

Please fill application name, username and password.
Expand |
Embed | Plain Text
tell application "***App name***" activate end tell tell application "System Events" -- #102 is NFER key in JIS keyboard. This line is necessary for Japanese user only. key code 102 keystroke "***Your ID***" keystroke tab keystroke "***Your PW***" keystroke return end tell
Comments

You need to login to post a comment.
Wow, I found I've miss-understood what snippet is... This is script not snippet. I should to move this another place.
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.