From wiki.ginstr.com
Jump to: navigation, search
(Store currently logged in user to variable)
m (formatting)
 
Line 10: Line 10:
 
===Store currently logged in user to variable===
 
===Store currently logged in user to variable===
  
;<code>[gn:act_getGinstrUserNameToTarget]|[target]</code>
+
:;<code>[gn:act_getGinstrUserNameToTarget]|[target]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| [[target]]
+
| <code>[[target]]</code>
 
| [[target]] where the logged in user will be stored
 
| [[target]] where the logged in user will be stored
 
* Valid [[target|targets]]:
 
* Valid [[target|targets]]:
** [[target|variable]]
+
** [[:Category:Variables|variable]]
 
|-
 
|-
 
|}
 
|}
  
 
====Example====
 
====Example====
<code>@variable/userName</code> - target<br><br>
+
:<code>@variable/userName</code> - target<br>
<code>[gn:act_getGinstrUserNameToTarget]|[@variable/userName]</code>
+
:; ⤷ <code>[gn:act_getGinstrUserNameToTarget]|[@variable/userName]</code>
 
<hr>
 
<hr>

Latest revision as of 16:19, 12 July 2017

gn:act_getGinstrUserNameToTarget

Description
Action used to retrieve currently logged in user from ginstr launcher and store it to variable.
Action returns
void

Action signatures

Store currently logged in user to variable

[gn:act_getGinstrUserNameToTarget]|[target]
Parameter Description
target target where the logged in user will be stored

Example

@variable/userName - target
[gn:act_getGinstrUserNameToTarget]|[@variable/userName]