Re: Scripting system preferences in OS X 10.2.3
Re: Scripting system preferences in OS X 10.2.3
- Subject: Re: Scripting system preferences in OS X 10.2.3
- From: Gary Lists <email@hidden>
- Date: Mon, 30 Dec 2002 08:08:39 -0500
On or about 12/30/02 3:31 AM, Sander Tekelenburg wrote:
>
At 22:43 -0800 UTC, on 12/29/02, Christian Boyce wrote:
>
>
[...]
>
>
> I'd like to do this without resorting to scripting the GUI, for
>
> portability reasons.
>
>
Which porrtability reasons you are referring to?
Um, portability would be an issue if, say, you wanted to reach the largest
Mac OS installed base, which isn't OSX at all. :) (Or did I miss the
announcement that this was now the OSX AppleScript list? ;)
>
It has been pointed out (after I asked specifically ;)) that the current GUI
>
scripting is to be considered a public beta, planned to end up in the main OS
>
itself. The only other portability issue (I think) would be localized OS X
>
versions, but as I understand it you can refer to menu items by index number.
>
(See Chris Espinosa's message of December 21, in the thread "uh, that's so
>
cool! AS 1.9.1")
Although, of course, we 9-ers can GUI script with speed, ease and complete
AppleScript integration using KeyQuencer (from KQ -> AS and from AS -> KQ).
And KQ's "dictionary" is so powerful that the new GUI stuff that I've seen
here doesn't even come close. Years apart, I'd say.
So, if your OS X-ish GUI is really all that important (and doesn't stop
developers from properly adding scriptability) then you could easily write
an X-GUI AS that cascades to a KeyQuencer engine GUI script (afterall, KQ
is just as free as AS and it's got several thousand more commands
available.)
Just test for OS, then "tell" system events or the KQ engine.
--
Gary
"9 is Fine"
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.