Re: need explanation for trivial Safari script behavior
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