Hey guys. Working on Mac OSX 10.6, My "problem" is that I would like a secure password on my user account, but hate the trouble of having to paste it in whenever a process needs admin privileges.
I use Autopilot, and figure it's the best way to input this, so i can 1 use straight applescript to input, 2 use a shell script with "osascript..." 3 launch an applescript compiled application 4 use the text expansion facility in Autopilot (doesn't seem to work in this case)
The script that I have so far is:
set the clipboard to "FooBar"
set resultAnything to the clipboard as text
When I execute in script editor my result is "FooBar" But I can't get it to work anywhere else.
I can't use
set the clipboard to "FooBar"
tell application "System Events"
keystroke "v" using command down
end tell
Because the password dialogue doesn't seem to accept the command+v paste method.
Any help? By the way I did scour the net and stackoverflow before posting this question, so forgive me if I overlooked anything already posted.
Thanks