syntax:functions:system
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:system [2018/08/13 15:44] – dmitry | syntax:functions:system [2021/11/22 07:38] (current) – [Currently supported keywords:] dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== System(keyword) ===== | + | ====== System(keyword) ====== |
+ | Category: | ||
- | Returns | + | \\ |
+ | =====Description===== | ||
+ | This function returns the system | ||
- | Currently supported keywords: | + | \\ |
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |keyword|Text | ||
+ | |||
+ | **Return value type:** Text (one of the Result values from the table below) | ||
+ | |||
+ | \\ | ||
+ | ====Currently supported keywords:==== | ||
^ Keyword | ^ Keyword | ||
- | | user |The current Windows user. | | + | | user |The Windows account of the current Windows |
- | | projectpath |The full path to the current project including file name. | | + | | identity | The Windows identity of the user that triggered the workflow. In EasyMorph Desktop, Launcher, and CLW it's the same as the Windows account of the current Windows process. On EasyMorph Server, if the current space uses authentication via Active Directory, then the function returns the account of the current user that is logged into the space. For all other space types, it returns an empty value. | |
- | | projectfilename |Current | + | | projectpath |The full path to the current project, including file name. | |
- | | projectdir |Current | + | | projectfilename |The current |
- | | callerpath |The full path to the calling project ((The calling project is the project that contains the [[transformations: | + | | projectdir |The current |
- | | callerfilename |The directory | + | | callerpath |The full path to the calling project ((The calling project is the project that contains the [[transformations: |
+ | | callerfilename |The file name (without extension) | ||
| programdir |The full path to morph.exe. | | | programdir |The full path to morph.exe. | | ||
| currentdir |The working directory. | | | currentdir |The working directory. | | ||
| utcoffset |The UTC offset to the system time zone ( e.g. " | | utcoffset |The UTC offset to the system time zone ( e.g. " | ||
| tempdir |The current temporary directory. | | | tempdir |The current temporary directory. | | ||
- | | projectappversion|The version of application that created current project | | + | | projectappversion|The version of the application that created current project | |
+ | |||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
- | **Example** | + | |
- | ^ Example | + | |
- | | system(' | + | |
- | **See also** | + | system(' |
- | * [[syntax: | ||
- | * [[syntax: | ||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
+ | * [[syntax: |
syntax/functions/system.txt · Last modified: 2021/11/22 07:38 by dmitry