In Order to Manage Scripts Launched from the Windows Startup Folder, We Must First Know the Folder’s Contents
Last time in “Auto-Loading AutoHotkey Scripts When Booting Windows,” I highlighted the problem introduced by launching scripts from the Windows Startup folder on boot up—too many AutoHotkey icons in the System Tray might overwhelm the status bar. We can turn off the icons, but that’s like turning out the lights in an unlighted, windowless room full of furniture. You don’t know what’s where. We need a handy system for consolidating the information sitting in the Startup folder without making it too intrusive.
This time I demonstrate one technique for consolidating the Startup folder data for display. I have yet to settle on how I want to display the information and use the data. I see a number of possibilities:
- A single MsgBox listing the Startup shortcuts—the simplest, yet least flexible approach.
- A single System Tray icon right-click menu listing the Startup shortcuts—more flexible but limited in action creating techniques.
- A GUI window using a ListView control displaying the Startup folder’s shortcut data—the most flexible and powerful approach but more complicated to implement.