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: Christopher Stone <email@hidden>
- Date: Fri, 31 Mar 2017 03:25:46 -0500
On 03/31/2017, at 02:19, Shane Stanley <email@hidden> wrote:
I don't think the XPath part is the problem. It looks to me that you can't return an array/list.
I figured this out just about an hour ago – pretty damn close to the time you posted this.
So the situation isn't so dire as it looked.
All I have to do with my failing scripts is join the arrays using arrayName.join('\n') to return a string to AppleScript.
There may be missing values that are turned into blank lines, so it's necessary to clean it up a trifle – but this isn't hard to work with.
Nevertheless I'll file a bug.
|
_______________________________________________
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