Parameters:
Name |
Short Name |
Type |
Description |
Channel Number |
channel |
integer |
New channel number or set -1 not to change the channel number. |
New Name |
name |
string |
New name shown in the caption of Image and Plot Windows. Use any characters. |
Description:
Renames images and changes channel number.
Use -1 as channel number if changing name without changing the channel number.
To automatically generate file names use the following example:
=%LoadFolderName%_%LoadBaseName%%BACK%%LoadPositionNumber:2%w1.txt
Use any string after = and include any of the variables below between % marks; :n pads to n digits
%BACK% or %BACK:n% is (n times) backspace
Variables referring to last opened image set: %LoadFolderName%, %LoadFileName%, %LoadFileExt%, %LoadBaseName%, %LoadPositionNumber%, %LoadPositionName%, %LoadPositionCount%, %LoadPlateRow%, %LoadPlateCol%, %DocumentsFolder%, %PipelinesFolder%, %MyPipelinesFolder%
%LoadBaseName% refers to the common part of filenames within all opened files, with trailing zeros removed.
%LoadFolderName% refers to the name of the folder, that contains all of the opened files, not the path.
%LoadFolder%, %DocumentsFolder%, %PipelinesFolder%, %MyPipelinesFolder% refer to full path to the given location.
When only filename is given after the = the default folder is used. Relative path (e.g. =folder\file.txt) is appended to the default path. If no filename is given for saving, the Image Window name and default extension are used. Set default folders in the File/Set Folder Locations... menu point. Importantly, if no = is used in the beginning of the filename, then the full path needs to be entered.
Characters incompatible with the Windows files system are automatically removed from the save name. Variables and commands are case sensitive.