|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

String.MakePath

OverviewExamples

string String.MakePath ( table PathParts )


De s cr ip t ion


Returns a path based upon the elements in a specified table.


P arame t er s


PathParts


(table) A table containing each part of the path. The table should be indexed as follows:



KEY


TYPE VALUE


Drive


string


The drive portion of the path (drive letter followed by a colon, for example, C:).


Folder


string


All of the folders within the path. This must begin with a backslash (for example, \MyFolder1\MyFolder2\).



Filename


string


The filename in the path (for example, "myfile").


Extension


string


The file extension in the path (for example, ".exe").


Re t u r n s


(string) A path string composed of the specified table elements. If for some reason, the path cannot be created or an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.


Note: The path created cannot exceed the Windows maximum path of 260 characters.


image

|