Page 1 of 1

JavaScript and Tags

PostPosted: Sun Feb 18, 2018 10:51 am
by jandamm
I want to write a passing script which checks the count of the tags and matches them against a REGEX.
So I use the inputAttributes to input the Tags of the file.

But instead of an array/list, I get NSAppleEventDescriptor which is not working with Javascript.
Is there a way to create an array out of the EventDescriptor?

Re: JavaScript and Tags

PostPosted: Mon Feb 19, 2018 11:52 am
by Mr_Noodle
I assume you are using the "Run JavaScript" action? Can you post the script you are using?