Execute code when Igor starts up

If you want to execute Igor code whenever Igor first launches or when New Experiment is selected, create a procedure file
in Igor Procedures folder containing a (preferably static) IgorStartOrNewHook function:

// Contents of Startup.ipf, place into Documents:WaveMetrics:Igor 6 Users Folder:Igor Procedures
//
#pragma rtGlobals=1        // Use modern global access method.
#pragma moduleName=startup    // traditional for static functions

Static Function IgorStartOrNewHook(igorApplicationNameStr)
    String igorApplicationNameStr    // not that useful, but that's what it is

     // Do Your Stuff Here
    Print "Starting up..."  
End


For more about user-defined hook functions, execute this command on Igor's command line:
DisplayHelpTopic "User-defined Hook Functions"

Forum

Support

Gallery

Igor Pro 9

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More