🅰️HK Lesson #11: Deciding on grouping your actions in one or multiple scripts!

Hello,

One thing that confuses a lot of people new to AutoHotkey is if they should have one AutoHotkey script or many. The answer is a bit complicated. In reality you probably want many, however understanding what you should put in your “main” AutoHotkey.ahk script verse individual scripts are a bit complicated.

The decision to combine or separate scripts might often boil down to personal preference. It’s also influenced by how you plan to use these scripts.

For instance, if you anticipate that specific users might only need certain functionalities, it’s beneficial to keep those functions in separate scripts. This approach makes it easier to provide users with exactly what they need without overwhelming them with unnecessary code.

Watch this video (which is extracted from Intro to AHK v2) to dive deeper into the decision-making process. Don’t forget the Intro to AHK course is over 4 hours long and comes with a double your money back guarantee! You can get 15%off by clicking this link or save 25% by joining the AHK Hero Group.

Additional Resources

Joe, Isaias, Irfan & Team

the-Automator.com

This campaign was designed to allow you to jump around.  At any time you can jump to any one of the emails by clicking below

1) Intro2) AHK Versions3) Editors4) First AHK Script5) Getting Help
6) Variables7) Run @ Startup8) Downloading Viruses9) HotStrings10) Hotkeys
11) One vs Many Scripts12) Intro to QAP13) Functions & Directives14) Custom Functions15) Includes & Lib
16) Troubleshooting17) Intro to GUIs18) Using Clipboard19) Reading Files20) Saving Preferences
21) Automating older Progs22) Automating Menus

P.S. A while back, Isaias and I had a discussion on batching which is related to grouping actions together. You can take a look at that discussion in this video.

Comments are closed.