WAZ: Zipped Applications
A zip archive which
contains a main.tcl in its
toplevel directory (or within a single sub-directory)
can be directly executed by Wize.
Such an archive is referred to as a waz or Wize Application Zipfile.
Implicit Execution
For example, suppose archive foo.zip contains:
foo1.2/
foo1.2/main.tcl
foo1.2/bar.tcl
Then the following wize will set the args into argv
and sources main.tcl:
wize foo.zip arg1 arg2 ...
A main.gui is also supported.
Exlicit Execution
The following executes a specific script rather than main.tcl:
wize foo.zip:bar.tcl arg1 arg2 ...
Browse Then Execute
Wize can also browse for the script using:
wize foo.zip:
This mounts the archive then uses tk_getOpenFile to
select a script to execute.
Doing More
There is much more one can do.
See Running for details.
© 2008 Peter MacDonald