system.folders.<...>

Return to Introduction  Previous page  Next page

Gets or sets dimensions of the display window (in a standalone windowed playback enviornment).

 

Properties

 

documentCache

Returns the full path to the document cache folder, used by DX Studio to unpack resources for playback.

windows

Returns the full path to the Windows folder.

documentSource

Returns the full path to the folder from which the current DX Studio document was loaded.

executable

Returns the full path to the folder from which the player EXE or DLL was launched.

install

Returns the full path to where DX Studio or the DX Studio Player was installed to.

temp

Returns the full path to a temporary folder.

userDocuments

Returns the full path to the user's documents.

userDesktop

Returns the full path to the user's desktop folder.

documentExecutable

Returns the full path to the document EXE if the document is built as an EXE.

document

Returns the full path to the document (whether EXE or normal).  The same as documentExecutable if running as an EXE, or documentSource if running as a normal doc.

 

Examples

 

print("Document is located in this folder: "+system.folders.documentSource);

 

Remarks

 

All coordinates are in pixels, relative to the top left of the desktop.

 

See Also

 

System



Copyright ©2004 Worldweaver Ltd. DX Studio Home