Function that uses the function isValid7ZipPath() to check whether the global variable v7Location is a valid path to the 7-Zip executable. When the variable does not hold a valid path, the function shows a dialog with which the user can select the 7-Zip executable. This function is an internal function used by the methods File.zip() and Folder.zip().
The function ZipLocation() is located in the file zip.jsxinc.
Usage
if(ZipLocation())
file.zip("archive.zip", "tzip", 5, "a");Paramters
This function has no parameters.
Return values
| Value | Meaning |
|---|---|
| true | The variable v7Location holds a valid path to the 7-Zip executable. Also returns true when the user selected the executable. |
| false | The variable v7Location does not hold a valid path to the 7-Zip executable. The user did not select a valid path. |
