From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
 
Line 10: Line 10:
 
===Store file info===
 
===Store file info===
  
;<code>[gn:act_storeFileInfo]|[source]</code>
+
:;<code>[gn:act_storeFileInfo]|[source]</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
 
|-
 
|-
| [[source]]
+
| <code>[[source]]</code>
 
| [[source]] from where the file information will be used
 
| [[source]] from where the file information will be used
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
Line 26: Line 26:
  
 
====Example====
 
====Example====
<code>@drawable/resourceId</code> - file reference<br><br>
+
:<code>@drawable/resourceId</code> - file reference<br>
<code>[gn:act_isIdenticalFile]|[@drawable/resourceId]</code>
+
:; ⤷ <code>[gn:act_isIdenticalFile]|[@drawable/resourceId]</code>
 
<hr>
 
<hr>

Latest revision as of 16:09, 12 July 2017

gn:act_storeFileInfo

Description
Action used to store information about a specified file internally. This information is later used by gn:act_isIdenticalFile action.
Action returns
boolean

Action signatures

Store file info

[gn:act_storeFileInfo]|[source]
Parameter Description
source source from where the file information will be used
  • Valid sources:
    • @drawable
    • hardcoded file path

Example

@drawable/resourceId - file reference
[gn:act_isIdenticalFile]|[@drawable/resourceId]