Scan Text and Tag based on #Tag?

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Scan Text and Tag based on #Tag? Wed Jan 18, 2017 3:18 pm • by KyleEssary
Is there a way to make Hazel scan a .txt file and tag it with any word that begins with a hashtag in the .txt file?
KyleEssary
 
Posts: 1
Joined: Wed Jan 18, 2017 3:14 pm

Re: Scan Text and Tag based on #Tag? Thu Jan 19, 2017 12:21 pm • by Mr_Noodle
It can do it if you know exactly how many hash tags to look for. You can use a custom attribute to match the word after a # character but you can't have it match every occurrence, just one. You can create a custom attribute for multiple cases but again, that requires you to know how many to match ahead of time.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion