JavaScript and Tags

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

JavaScript and Tags 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?
jandamm
 
Posts: 8
Joined: Sun Feb 18, 2018 10:46 am

Re: JavaScript and Tags 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?
Mr_Noodle
Site Admin
 
Posts: 11251
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support