u/JackofAll99Trades

Is there a way to put a lot of @resource statements into a separate local file?

I'm trying to create a script that compares information between some text files I have locally on my PC and a website. The general idea is that the files are categories for items on the website, and I want to be able to display the category on the website.

There are over 70 of these files, and the list may change, so rather than hard-code the filenames into @ resource lines in my script, I would prefer to have a local file that has all the @ resource lines in it, that I could (maybe) script up automatically from a list of the files I want to include into something like a script? I tried putting @ resource statements into a js file and did a @ require of that file, but the resources didn't seem to get loaded.

Or am I going about this the wrong way? Is there a better way to read the information from 70+ local files to have available in my script?

Please let me know if you have any ideas or need clarification

reddit.com
u/JackofAll99Trades — 4 days ago

Rather telling?

I guess I shouldn't be surprised given that the software has been behaving a bit strangely recently.

I see the same message on two different PCs. Anyone else?

u/JackofAll99Trades — 23 days ago