From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_renameMediaFile</code></span> Category:Action_Library...")
 
Line 21: Line 21:
 
:*[[Datatypes#photo|photo]]
 
:*[[Datatypes#photo|photo]]
 
|-
 
|-
| [[source|sourcePattern]]
+
| [[source]]
| [[source|sourcePattern]] source of new file name
+
| [[source]] source of new file name
 
* Valid [[source|source]]:
 
* Valid [[source|source]]:
 
:*[[Datatypes#text|text]]
 
:*[[Datatypes#text|text]]

Revision as of 09:23, 2 June 2017

gn:act_renameMediaFile

Description
Action is used to rename media files stored in target
Action returns
void

Action signatures

Rename media file

[gn:act_renameMediaFile]|[target,source]
Parameter Description
target target target on which media file rename will be preformed
source source source of new file name

Example

@variable/Photo - target
@string/newPhotoName - name source
[gn:act_renameMediaFile]|[@variable/Photo,@string/newPhotoName]