This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
token:Application_Tokens [2022/01/31 20:33] peternlewis |
token:Application_Tokens [2024/07/16 01:12] (current) peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Application Related Tokens ====== | + | ====== Application Tokens ====== |
- | This Wiki page receives the redirect for a number or windows related tokens: | + | You can get information about running applications using the variable Application tokens: |
- | * [[token:Application|%Application%]] | + | ^Token^Meaning^ |
- | * [[token:ApplicationBundleID|%ApplicationBundleID%]] | + | | Application\\ (or ApplicationName (v11.0+)) | The name of the application | |
- | * [[token:ApplicationPath|%ApplicationPath%]] (v9.0+) | + | | ApplicationBundleID| The bundle ID of the application| |
- | + | | ApplicationPath (v9.0+)| The path to the application | | |
- | Each of these text tokens return information about the specified application. | + | | ApplicationVersion (v11.0+)| The version of the application| |
+ | | ApplicationLongVersion (v11.0+)| The long version of the application| | ||
==== Token Parameters ==== | ==== Token Parameters ==== | ||
- | Each token take a parameter indicating the application. The parameter is the value _after_ the percent sign of the main token. For example: `%TokenName%TokenParameter%` or `%Application%1%`. | + | Each token take a parameter indicating the application. The parameter is the value _after_ the percent sign of the main token. For example: //%Application%1%//. |
The parameter may be: | The parameter may be: | ||
Line 20: | Line 21: | ||
| Negative Number | the indexed application from back to front. | | | Negative Number | the indexed application from back to front. | | ||
| All | All of the applications, one per line, from front to back. | | | All | All of the applications, one per line, from front to back. | | ||
- | | Foreground | All foreground of the applications, one per line, from front to back. | | + | | Foreground | All foreground applications, one per line, from front to back. | |
- | | Background | All background of the applications, one per line, from front to back. | | + | | Background | All background applications, one per line, from front to back. | |
So for example, //%Application%1%// gives the name of the front application. | So for example, //%Application%1%// gives the name of the front application. | ||
- | |||
- | ==== Application ==== | ||
- | |||
- | The `%Application%` tokens returns the name of the specified application. | ||
- | |||
- | ==== ApplicationBundleID ==== | ||
- | |||
- | The `%ApplicationBundleID%` tokens returns the bundle ID of the specified application. | ||
- | |||
- | ==== ApplicationPath ==== | ||
- | |||
- | The `%ApplicationPath%` tokens returns (v9.0+) the path of the specified application. | ||
===== See Also ===== | ===== See Also ===== |