• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UI Browser / AutoAPOD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >UI Browser / AutoAPOD (From: Robert Poland <email@hidden>)

  • Prev by Date: Bug with non-US synonyms from MS Word 2004?
  • Next by Date: Re: GraphicConverter scripting help
  • Previous by thread: Re: UI Browser / AutoAPOD
  • Next by thread: GraphicConverter scripting help
  • Index(es):
    • Date
    • Thread