Re: UI Browser / AutoAPOD
Re: UI Browser / AutoAPOD
- Subject: Re: UI Browser / AutoAPOD
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 24 Sep 2004 06:05:43 -0400
on 2004-09-23 3:08 PM, Robert Poland at email@hidden wrote:
> So I'm trying to change my script to loop for awhile to be sure image
> is downloaded. I haven't got to the loop stage yet as the script
> below fails.
>
> tell application "System Preferences"
> activate
> tell application "System Events"
> tell process "System Preferences"
> click menu item "AutoAPOD" of menu "View" of menu bar 1
> tell window "AutoAPOD"
> tell tab group 1
> set x to text 1
> end tell
> end tell
> end tell
> end tell
> end tell
> x
>
> The interim script fails at the statement "set x to text 1".
If you're just trying to get the value of a static text item, you need to
write:
set x to value of static text 1
You should get a string.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden