Use the following structure to define a folder. Refer to the TLKBASE.SCR file located in the \TOOLKIT\SAMPLES\MM\SHORTCF subdirectory for an example.
WPObject = ( WPClassName = "WPFolder" WPTitle = "title" WPSetupString = "ICONFILE=$(DEST)icon;OBJECTID=<folderobjid>" WPLocation = "<parentfolderobjid>" WPFlags = 0 )
title
In the following example, a folder called Multimedia Presentation Manager Toolkit/2 will be added to the desktop.
WPObject = ( WPClassName = "WPFolder" WPTitle = "Multimedia Presentation\nManager Toolkit/2" WPSetupString = "ICONFILE=$(DEST)MMTOOLKT.ICO;OBJECTID=<MMPMTLK>" WPLocation = "<WP_DESKTOP>" WPFlags = 2L )
Defining Programs
Use the following structure to define a program that is to be added to a folder. Refer to the TLKSTRN.SCR file located in the \TOOLKIT\SAMPLES\MM\SHORTCF subdirectory for an example.
WPObject = ( WPClassName = "WPProgram" WPTitle = "title" WPSetupString = "EXENAME=path file;STARTUPDIR=dir;PROGTYPE=PM; ICONFILE=$(DEST)icon; [ASSOCTYPE=type;] [ASSOCFILTER=filter;] OBJECTID=<pgmobjid>" WPLocation = "<parentfolderobjid>" WPFlags = 0 )
Note: The program setup information (WPSetupString) must be on one line, not two as shown in the previous figure.
title