kalekje / LNCHR-pub

MIT License
25 stars 4 forks source link

Filter quick reference entries if condition met. #13

Open Avastgard opened 9 months ago

Avastgard commented 9 months ago

I'm not sure how hard it would be to implement this, but now that we have the Conditional column on the .xlsx, the quick reference guide could show only the commands that meet that condition.

This is particularly useful for people like me who use the script in different computers (e.g., work and home) and may get confused about which commands are valid on each computer.

Also, a quick question: if I change the flags UsingAnyWorkComputer and UsingMainWorkComputer on LNCHR-Main.ahk, will it reflect on everything else or would I have to edit all the other files that use it manually? I find these two names confusing and would like to have something more intuitive, like UsingWorkComputer and UsingHomeComputer.

kalekje commented 9 months ago

I think the easiest way would be to either: Generate multiple help files within the Excel macro with a different names, and have AHK conditionally choose the help file; or generate on file like it does now, but put the boolen flag in the command description, and filter out the help file accordingly.

Avastgard commented 9 months ago

Good to know there are possibilities here.

What about my second question?

Also, a quick question: if I change the flags UsingAnyWorkComputer and UsingMainWorkComputer on LNCHR-Main.ahk, will it reflect on everything else or would I have to edit all the other files that use it manually? I find these two names confusing and would like to have something more intuitive, like UsingWorkComputer and UsingHomeComputer.