Page 1 of 1

Javascript Library File

PostPosted: Thu Aug 22, 2019 4:08 pm
by jswright61
I'd like to import a Javascript file with a bunch of identifying data into several scripts so that I can manage this file in one central place. I'd really like to do this within Hazel so that my Hazel rules are self contained. I have avoided outside scripts for this reason. Is there a way to do this? Any thoughts to adding such a feature down the road?

Re: Javascript Library File

PostPosted: Fri Aug 23, 2019 10:38 am
by Mr_Noodle
This is beyond Hazel and is best handled externally. Probably not a good thing to include in Hazel as it's language specific.

Re: Javascript Library File

PostPosted: Sat Aug 24, 2019 4:28 pm
by jswright61
Ok. Thanks.

If that's the case I will probably do the external script in Ruby because my brain works better with Ruby than Javascript.