• 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: Scripting Safari's Preferences window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Safari's Preferences window


  • Subject: Re: Scripting Safari's Preferences window
  • From: Andrew Oliver <email@hidden>
  • Date: Sun, 13 Jul 2003 10:18:17 -0700

On 7/13/03 10:02 AM, "Irwin Poche" <email@hidden> wrote:

> But it appears that it can only function when Safari is not running, or at
> least it does not change the settings in real time.

That is true :-/

> That is why I9m looking to a UI solution. We may wait a very, very long time
> for any application to become fully scriptable. UI scripting will give us an
> high degree of scriptability, with no work (I think) on the part of the
> application9s developers.

<rant>
And therein lies the problem. If people are content with the GUI scripting
hack, it's used as an excuse to not put robust AppleScript dictionaries into
applications.

In this particular instance, I can almost hear the engineers saying "Oh,
users can use GUI scripting to turn on/off JavaScript', so there's no need
for me to make a 'javascript' property of my app so they can:

tell application "Safari" to set JavaScript enabled to true

Which would you rather have?
Which is the likeliest scenario?

GUI Scripting has its uses but it should ALWAYS be accompanied by a
complaint/feature request/bug report to the developer saying "I had to
resort to GUI Scripting to achieve <xyz task>. Can you please add direct
AppleScript access to this feature."

I have yet to see one GUI scripting-based script that could not be done
quicker and easier if the target applications had robust AppleScript
support.

</rant>
Andrew
:)
_______________________________________________
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.

  • Follow-Ups:
    • Re: Scripting Safari's Preferences window
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: Scripting Safari's Preferences window (From: Irwin Poche <email@hidden>)

  • Prev by Date: Re: Scripting Safari's Preferences window
  • Next by Date: Re: Problems with AppleScript and IE 5.2
  • Previous by thread: Re: Scripting Safari's Preferences window
  • Next by thread: Re: Scripting Safari's Preferences window
  • Index(es):
    • Date
    • Thread