syntax:functions:system
This is an old revision of the document!
System(keyword)
Returns system values. They keyword must be a text constant. Reference to a field or parameter not allowed.
Currently supported keywords:
Keyword | Result |
---|---|
user | The current Windows user. |
projectpath | The full path to the current project including file name. |
projectfilename | Current project’s file name only, without extension. |
projectdir | Current project’s directory. |
callerpath | The full path to the calling project 1) including file name. |
callerfilename | The file name (without extension) of the calling project. |
programdir | The full path to morph.exe. |
currentdir | The working directory. |
utcoffset | The UTC offset to the system time zone ( e.g. "-04:00:00"). |
tempdir | The current temporary directory. |
projectappversion | The version of application that created current project |
Example
Example | Result |
---|---|
system('projectpath') | C:\Documents\myproject.morph |
See also
syntax/functions/system.1545621451.txt.gz · Last modified: 2018/12/23 22:17 by dmitry