Finalizing an AutoHotkey Script

While No One Actually Ever Completes an AutoHotkey Script, Some People Get Much Closer Than Others

Last June I started a series of blogs on “Finishing and Polishing AutoHotkey Scripts.” (Ironically, I never finished either the script or the series of blogs.) I wrote six articles aimed at making a script more flexible and user-friendly. Once I had added a menu bar to the GUI window, my chosen menu items provided a map to the ultimate finished product. In the course of that work, I introduced a number of methods for enhancing the program.

The techniques include:

  • The value of adding menu bars to Graphical Users Interface (GUI).
  • Sensing data changes for auto-save routines.
  • Using alternative file extension names for special file formats.
  • Another GoTo command trick to avoid rewriting subroutines.
  • Saving default settings in the Windows Registry.

Since the topics have rolled off the list of recent blogs on the Home screen, I’ve added a page listing the articles included in the series to the “AutoHotkey Topics and Series” menu at the top of this page. I did this as part of my effort to make it easier for AutoHotkey users to navigate this site.

These techniques do not apply to all scripts, but focus on those based upon a GUI pop-up window—in this case, the InstantHotstring.ahk script. You’ll find the most recent version of the work-in-progress source code at the end of the ComputorEdge Script page’s “InstantHotstring” listing—linked under the name InstantHotstringMenuBar.ahk.

See the blog list for this topic at the “Finishing and Polishing AutoHotkey Scripts” page.

Click the Follow button at the top of the sidebar on the right of this page for e-mail notification of new blogs. (If you’re reading this on a tablet or your phone, then you must scroll all the way to the end of the blog—pass any comments—to find the Follow button.)

jack

This post was proofread by Grammarly
(Any other mistakes are all mine.)

(Full disclosure: If you sign up for a free Grammarly account, I get 20¢. I use the spelling/grammar checking service all the time, but, then again, I write a lot more than most people. I recommend Grammarly because it works and it’s free.)

Find my AutoHotkey books at ComputorEdge E-Books!

Find quick-start AutoHotkey classes at “Robotic Desktop Automation with AutoHotkey“!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s