Re: Sierra 10.12.4 and JavaScript by AppleEvents in Safari
Re: Sierra 10.12.4 and JavaScript by AppleEvents in Safari
- Subject: Re: Sierra 10.12.4 and JavaScript by AppleEvents in Safari
- From: Steve Mills <email@hidden>
- Date: Thu, 30 Mar 2017 22:34:19 -0500
On Mar 30, 2017, at 22:30:30, Christopher Stone <email@hidden> wrote:
>
> On 03/30/2017, at 22:19, Steve Mills <email@hidden> wrote:
>> It runs, but it fails because the "do javascript" command is returning missing value instead of "", so the "if linkList" line generates an error.
>
> Hey Steve,
>
> You're saying that:
>
> set linkList to (do JavaScript strJS in front document)
>
> Is returning a missing value?
Yes. I had to turn on Allow JavaScript from Apple Events in order to run the script. And linkList was undefined after I turned it on and ran it.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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