token:Application_Tokens
**This is an old revision of the document!**
Table of Contents
Application Related Tokens
You can get information about running applications using the variable Application tokens:
| Token | Meaning |
|---|---|
| Application | The name of the application\ (alternatively, you can use ApplicationName in v11.0+) |
| ApplicationBundleID | The bundle ID of the application |
| ApplicationPath (v9.0+) | The path to the application |
| ApplicationVersion (v11.0+) | The version of the application |
| ApplicationLongVersion (v11.0+) | The long version of the application |
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: %Application%1%.
The parameter may be:
| Parameter | Meaning |
|---|---|
| 0 or 1 | the front application. |
| Positive Number | the indexed application from front to back. |
| Negative Number | the indexed application from back to front. |
| 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. |
| Background | All background of the applications, one per line, from front to back. |
So for example, %Application%1% gives the name of the front application.
See Also
Tokens
token/Application_Tokens.1695108386.txt.gz · Last modified: by peternlewis
