Tutorials:Action Variables: Difference between revisions

From LANCommander
(Created page with "The LANCommander Playnite addon allows the use of some special variables in primary actions. These variables are expanded upon launch of the game. Any environment variables (%TEMP%, %AppData%, etc.) and special folders are also expanded at this time. == Variables == {| class="wikitable" |- ! Name ! Description |- | <code>{DisplayWidth}</code> | The width of the primary display in pixels |- | <code>{DisplayHeight}</code> | The height of the primary display in pixels |-...")
 
No edit summary
Line 1: Line 1:
[[Category:Tutorials]]
The LANCommander Playnite addon allows the use of some special variables in primary actions. These variables are expanded upon launch of the game. Any environment variables (%TEMP%, %AppData%, etc.) and special folders are also expanded at this time.
The LANCommander Playnite addon allows the use of some special variables in primary actions. These variables are expanded upon launch of the game. Any environment variables (%TEMP%, %AppData%, etc.) and special folders are also expanded at this time.



Revision as of 22:03, 7 January 2024

The LANCommander Playnite addon allows the use of some special variables in primary actions. These variables are expanded upon launch of the game. Any environment variables (%TEMP%, %AppData%, etc.) and special folders are also expanded at this time.

Variables

Name Description
{DisplayWidth} The width of the primary display in pixels
{DisplayHeight} The height of the primary display in pixels
{ServerAddress} The address of the currently authenticated LANCommander server
{IPXRelayHost} The host of the IPX relay as specified in Settings. If a hostname is provided, an attempt to resolve to an IP address will be made.
{IPXRelayPort} The port of the IPX relay as specified in Settings