Page 1 of 1

Batch update AppleScript code in multiple Hazel rules

PostPosted: Wed Sep 18, 2019 5:37 am
by cdhutch
Hello,

I have recently switched from DEVONthink 2 to DEVONthink 3. I have a lot of rules that run AppleScripts to move files into DEVONthink using the code
Code: Select all
tell application id "com.devon-technologies.thinkpro2
Because DT 3 uses a different application id, I am looking for a technique that does a find and replace of AppleScript code within a set of Hazel rules. Is this functionality available to the user?

Thank you,

Craig

Re: Batch update AppleScript code in multiple Hazel rules

PostPosted: Wed Sep 18, 2019 10:01 am
by Mr_Noodle
You might be able to search for them using the rule search function but there's no replace function so you'll have to edit each rule manually.

Re: Batch update AppleScript code in multiple Hazel rules

PostPosted: Wed Sep 18, 2019 4:24 pm
by cdhutch
Mr. Noodle,

That approach works for helping me find the rules that include my DT2 AppleScript.

Thanks!