Properties | |
IDispatch | Document [get] |
OLE object. | |
BSTR | Directory [get] |
Path to the directory. | |
tcomIViewObject | Source [get] |
Source object. | |
tcomIDomain | Domain [get] |
Return domain. |
This interface is used in package processing. Object is available in the running script for package type=2. This interface is available as object package.
Example to display message box:
set domain=package.domain domain.application.MsgBox domain.MainFrame, 0, "Call from script", "Source directory :"&package.directory
BSTR Directory [get] |
Path to the directory.
This is directory where is extracted package and all its files.
IDispatch Document [get] |
OLE object.
This is running OLE object.
tcomIDomain Domain [get] |
tcomIViewObject Source [get] |
Source object.
Object in the Tahiti which is parent of this package. This is usualy page or final item.
Example how to get attributes of parent object:
set attributes=package.source.parent.attributes
For Each attribute In attributes
....
Next