Re: coercing results of UI elements to paragraph delimited list
Re: coercing results of UI elements to paragraph delimited list
- Subject: Re: coercing results of UI elements to paragraph delimited list
- From: Kaydell Leavitt <email@hidden>
- Date: Mon, 15 Jul 2013 05:11:39 -0600
Hi Phil,
On Jul 13, 2013, at 8:39 AM, 2551 <2551phil@ gmail.com> wrote: You would do that like this
tell application "System Events" tell application process "Finder" tell menu bar 1 UI elements end tell end tell end tell
Thanks. That got me back on track.
.... but of course you would never want or need to GUI script the Finder as its directly scriptable itself.
I agree that to script the Finder, it would be preferable to utilize the AppleEvent interface as documented in the Scripting Dictionary.
I was just trying to learn GUI Scripting on the Mac app that I know the best which is the Finder. I would use AppleEvents to script the Finder, but if there were something not in the Scripting Dictionary, one could use GUI Scripting for the Finder or for other scriptable apps.
I have a more realistic goal: to be able to GUI Script OpenOffice.org. It's a Java program and is missing many Mac features such as AppleEvents, so all scripting with it would have to be GUI Scripting.
-- Kaydell |
_______________________________________________
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