GU I scripting and Airport passwords
GU I scripting and Airport passwords
- Subject: GU I scripting and Airport passwords
- From: Donald Hall <email@hidden>
- Date: Fri, 17 Oct 2008 00:16:34 -0600
Title: GU I scripting and Airport
passwords
When you select a wireless network from the Airport menu that
requires a password, a window appears on the screen with focus on a
text field for entering the password.
Has anyone been able to use GUI scripting to fill this in?
Here is what I tried:
------------------
tell
window 1
tell
text field 1 -- tried with and without this in a
tell block
keystroke
netPassword
keystroke return
end tell
end tell
-----------------
I've also tried "set text field 1 to
netPassword".
In either case no text appears in the text field.
I tried something similar with the window that comes up for
"Join Other Network..." and the same scheme works just fine
there - the password field fills in.
What am I missing in the first instance?
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden