Cannot Check Match Inside JSON File

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

Moderator: Mr_Noodle

Cannot Check Match Inside JSON File Sat May 18, 2019 7:26 am • by fly.ing.fox
Greetings.

I have a rule that checks for a specific JSON file then passes the information to an Applescript - all works fine.

However I would like to be able to match text inside the JSON file, however I cannot seem to match the contents at all.

Is this an issue with Finder/Spotlight not indexing inside JSON files? Or is there some other possible reason?

This is the start of the rule where I would like to check the contents of the file:

Code: Select all
if (all) of the following conditions are met
    (Kind) (is) (JSON Document)
    (Name) (matches) (Project Group)_(Project Name)


Thanks In Advance,
D
fly.ing.fox
 
Posts: 13
Joined: Sat Apr 20, 2019 5:09 pm

Re: Cannot Check Match Inside JSON File Mon May 20, 2019 10:39 am • by Mr_Noodle
Have you tried using "Contents contain match"?
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support