Welcome Guest (Log in)

Wizard

StarStarStarStarStar
Utility (53) | Developer tool (32) | Development (22)
General
Expander triangle
  • Author
  • Rating
  • Type
  • Revision
  • Downloaded
  • Updated
  • Craig Newman (dunbarx)
  • StarStarStarStarStar
  • Stack
  • 13
  • 1467 Times
  • 15 January 2015
Even newer. Much more powerful. Many bugs fixed.
Wizard is a development tool. It will display and manage the properties of objects in other open stacks, updating automatically during navigation. It contains several other useful gadgets.

NOTE: The stack script is put into use on openstack. Wizard traps (and passes) "mouseEnter", "preOpenCard" and "resumeStack". If any of these are trapped in another stack, certain functions will not work.

Objects may be selected in the lowermost list field (the "Object" field), and any property selected in the "Select Property" menu will be displayed in the "Value" menu. These may then be modified (see "Select Property" info below). Numbering is by object, not by layer. If the object's number is within parentheses, it is hidden in the working stack.

SELECTING OBJECTS IN THE OBJECT FIELD:
1-While in another stack, holding the optionKey down while moving the mouse into an object will select that object in the Object field. Any properties selected in the "Select Property" and "Value" menus will be updated. The object's name is put into the msg box for access.
2- In Wizard, clicking (CMD-click for multiple choices) an object in the Object field selects the object(s). The object's name is put into the msg box for access. Selected properties are updated
3- Clicking "Select" in the "Function" list shows a cross cursor, and allows one to click on one or more objects in another stack. This process is terminated by double-clicking. The selected objects will be hilited in the Object field.

OBJECTS MAY BE RE-ORDERED (within their object class) by dragging within the "Object List" in the wizard. They will be renumbered in the working stack. Layer order is preseved among all objects. Note that grouped objects are not re-orderable.

"SELECT PROPERTY" and "VALUE" MENUS:
Once objects are selected in the "Object" list, they can have their properties modified. The "Select Property" menu displays all properties and their current values. Data may be selected from the "Value" menu or new data may be entered and set by hitting "Enter" or "Return". Conversely, clicking on another object in the Object field will display the selected property in the value menu. One may go back and forth between displaying and modifiying properties and their values, on one object or many.

ACTION FIELD:
Operates on objects selected in the Object field. "Inspect" only works on single objects.

FUNCTION FIELD:
-"XY" shows a cross cursor. Click in two places in any stack and the local start and ending mouseLocs are displayed in Wizard.
- "LineInfo" shows a cross cursor. Click in a text field and information about the clickLine will display in Wizard. Clicking the info in Wizard will place that data in the msg box.
- "Select" shows a cross cursor, and allows one to click on one or more objects in another stack. This process is terminated by double-clicking. The selected objects will be hilited in the Object field.
- "Make Bg" will place controls and groups selected in the "Object" list onto all cards in the working stack. The process puts each object into its own group, and sets the backgroundBehavior property of that group to true.
- "Update". Not all operations that can update the object list might be caught by Wizard. This forces an update.
- "Space Objects". A cross cursor is shown. Objects selected in the "Object" field may be uniformly spaced. When the mouse is clicked, the loc of the first object selected is set, and holding and dragging the mouse distributes the other objects. Holding the shiftKey down will force alignment to the vertical and horizontal axes.

CURRENT CARD INFO FIELD: Click opens the inspector for the card.

MSG COMMANDS:
If the following line is placed at the end of both the "returnInField" and "enterInField" handlers of the "message field" of the message box, a list of msg box commands as they are executed will be loaded into the "Msg Commands" field of Wizard:

if there is a stack "wizard" then send "lastHandler" && me to stack "wizard"

NOTE:
- Single click in the Msg Commands field loads msg with the command.
- Double click loads and executes the command.
- Triple click deletes the command.
- Quadruple click clears the entire field.
Ajax Loader
Tags
Expander triangle
User Comments
Expander triangle