Wed, 12/18/2019 - 09:35 am
A utility to load or unload procedure files from the User Procedures or Wavemetrics Procedures folders.
Adds a "Load or Unload..." item to the File menu and, rather presumptuously, takes over the cmd-1/ctrl-1 shortcut.
Fast Search: Faster to build the list of procedures, but intolerant of semicolons in file paths.
Show File Path: Hover over a procedure name to display the file location within the Igor Pro User Files folder.
Compiler Directives: Hover over a procedure name to display Pragma statements from the procedure file.
Open IM: Allow independent modules to be opened for editing when the loaded procedure is double-clicked. Other procedure windows can always be opened this way.
Obsolete WM procedures: By default these are hidden.
Drag & Drop: Drag procedures from one list to the other to load or to unload.
Hidden Procedures: Developers can hide certain procedures from the procedure loader. 'Show hidden procedures' overrides this setting, and is not recommended for normal use.
How to hide a procedure file from the procedure loader
Insert a comment in the procedure, somewhere near the top, with the instruction 'Procedure Loader Hide. The comment must be within 20 lines from the start of the file. This method may be revised in future versions, but for now this seems to work reasonably well.
// Procedure Loader Hide
How to install
It makes sense for this procedure to be loaded at startup, so a good place to store it is in the Igor Procedures folder (see Help > Show Igor Pro User Files). If you use the IgorExchange installer to install the procedure loader it will by default be installed in the Igor Procedures folder.
Personally, I keep only one procedure file in the Igor Procedures folder: a file that has the sole purpose of including my personal selection of user procedures and Wavemetrics procedures at startup. It looks like this:
Current Project Release
|Version Date:||Sun, 07/18/2021 - 02:41 am|
|Version Patch Level:||0|
|OS Compatibility:||Windows Mac-Intel|
drag & drop option should be compatible with Igor 9 style control panel expansion
Igor Pro 9
Igor XOP Toolkit
Igor NIDAQ Tools MX