Macro Language Reference > Macros > Application > loadapp
  
loadapp
Description
Implemented in version 9.1, this macro creates an ordered list of existing Application Bundles to be loaded into PTC ALD on startup via the bundle.ini. file created when the list is saved. The user can then elect to open the files contained in the bundle as normal.
 
The list is arranged in the order in which the bundles will be loaded, therefore if multiple bundles of the same name appear in the list PTC ALD will load the one that appears in the highest position.
Syntax
loadapp option:L? bundle path:t
loadapp function:n
loadapp clear:l
loadapp
[no parameter]
Invoke the Bundle Load-Path Manager dialog box.
option
+
Load and append a bundle to the load path (default)
!
Load and prepend a bundle to the load path
-
Remove a bundle from the load path
bundle_path
The path of the file to be loaded and/or added to / deleted from the bundle load path, in double quotes
function
A single option, or list of options, that specify how the loadapp function should work:
0
Deactivate the bundle mechanism: all file access actions, eg. ted will ignore loaded bundles.
1
Activate the bundle mechanism in file access options.
2
Deactivate recording of file open activities
3
Activate recording of file open activities by a document (e.g. opening graphics) so all associated documents will be included in the bundle captured via the saveapp action.
clear
A single value:
X
Clear the bundle load path.
Additional Information
This option is also available via the File > Load bundle menu option.
Application Bundles are saved via the saveapp macro or the File > Save to bundle menu option.
Related Links