Type Property (AProgram) |
Version 6 |
Returns the item type of the program object.
[ enType = ] Object.Type
The Type property syntax has the following parts:
Name |
Type |
Description |
Object |
AProgram |
AProgram object |
enType |
enumAAppItemType |
An integer specifying the type of current object, either aappTypeProgram. |
Name |
Value |
Description |
aappTypeDriver |
1 |
driver |
aappTypeProgram |
2 |
program |
aappTypeSystem |
3 |
system |
aappTypeProgramsFolder |
4 |
programs folder |
aappTypeMiscFolder |
5 |
misc folder |
aappTypeShortcut |
6 |
shortcut |
The following example prints 2:
print App.Programs(0).Type