form·Z Extension Exchange
 
Download this extension

Toggle Object Visibility

Author: John Pollard, auto·des·sys, Inc.
Author's e-mail: support@formz.com

Platform: All
Kind: Script
Type: Command
Extension Version: 1.0.1.0
Minimum form·Z Version: 5.0.0.0
Updated: 8-29-05


Description: Command that turns off any objects that are visible but not selected. If no objects are selected when this is run, then the command restores all objects to their original state. If no objects have been toggled during this session, then all objects are turned on.

Instructions: Put this script in the "scripts" folder. It builds a command that will allow user to toggle objects off and on. These objects must be turned back on before quitting, otherwise the objects will remain off and need to be manually turned back on in the future.

As an added feature, if the user wants to turn all objects on, execute this command with no objects selected. If any objects were toggled off, they will be turned on. If you run the command a second time in a row without any objects seleced, the script will find any object that is off and turn it on.

 

 

How to Use a Downloaded Extension:

Scripts:

  1. Uncompress the downloaded .zip file containing the extension.
  2. Place the extension in the "scripts" folder inside your application folder
  3. If the extension is a compiled script (.fsb) it is ready to be used - relaunch form·Z. If it is an open script (.fsl) - go to step 4.
  4. For open scripts (.fsl), open the script in the Script Editor or open it within formZ.
  5. Select "Script -> Compile" from the menubar
  6. Make sure that a file has been built in your scripts folder with a .fsb extension.
  7. If form·Z is open, quit and restart the program.

Plugins:
Place the plugin in the plugins folder inside your application folder and relaunch.