• 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: need explanation for trivial Safari script behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need explanation for trivial Safari script behavior


  • Subject: Re: need explanation for trivial Safari script behavior
  • From: Mitchell L Model <email@hidden>
  • Date: Sun, 17 Jul 2016 19:31:03 -0400

I guess I was wrong that making Safari the parent of the Script object means that all of its handlers know Safari's vocabulary. I have only recently started to use Script objects, because for the kind of scripts I write I have never seen the point of using them. I thought one use was precisely to establish this kind of vocabulary context. It gets tedious putting a "tell application" in each of many handlers. Does "using vocabulary" help for that purpose? Where would I put it to wrap a bunch of handlers?

On Jul 17, 2016, at 4:56 AM, Yvan KOENIG <email@hidden> wrote:

Clearly, when you enter the handler, the code doesn't know that it's a Safari one.


 _______________________________________________
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

References: 
 >need explanation for trivial Safari script behavior (From: Mitchell L Model <email@hidden>)
 >Re: need explanation for trivial Safari script behavior (From: "Stockly, Ed" <email@hidden>)
 >RE: need explanation for trivial Safari script behavior (From: "Stockly, Ed" <email@hidden>)
 >Re: need explanation for trivial Safari script behavior (From: Mitchell L Model <email@hidden>)
 >Re: need explanation for trivial Safari script behavior (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: need explanation for trivial Safari script behavior
  • Next by Date: Re: need explanation for trivial Safari script behavior
  • Previous by thread: Re: need explanation for trivial Safari script behavior
  • Next by thread: Re: need explanation for trivial Safari script behavior
  • Index(es):
    • Date
    • Thread