Site Tools


Sidebar

New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
misc:ziplocation

ZipLocation()

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().

Usage

if(ZipLocation()) {
  file.zip("archive.zip", "tzip", 5, "a");
}

Parameters

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
misc/ziplocation.txt · Last modified: 2020/02/26 17:10 (external edit)