Working with Grail FilesThis section explains how to open, name, save, and quit Chalice grail files. Creating a New FileWhen you launch Chalice, it creates a new file called "untitled.grail" by default. The name appears in the Chalice title bar in the upper-left corner of the screen. You can also select "New" from the File menu. Opening an Existing FileYou can call a specific file when launching Chalice from a UNIX shell or NT Command Prompt window by typing the "chalice" command followed by the filename. For example: chalice filename.grail Or you can use the Open command in the File menu to open a file from within Chalice:
Chalice displays a "Load from:" dialog box that you use to specify the file to load. ![]() By default, Chalice file dialogs display your login home directory in the Directory field. You can type the pathname of the directory you wish to access into the Directory field (be sure to press the Enter key when you are done). Alternatively, you can click on directory entries in the Directories List to navigate through your file system. You can also use the Jump and Up buttons to navigate through the directory hierarchy: The Job field will contain the directory path that has been defined for the $JOB variable. Job lets you associate files with a specific project. See "Setting Global Variables " in chapter 6 for more information. Alternatively, you can key the name of the file into the "File:" field and click the Accept button. Chalice loads and displays the specified grail file. Optional: You may click the Cancel button instead of the Accept button to cancel the load operation and dismiss the dialog. Opening Files Created in Older Versions of ChaliceWhen you upgrade to the latest version of Chalice, you can open a file that was created in the previous version by following the same procedure outlined above. Chalice will convert the file before opening, as follows:
Chalice loads and displays the file, along with a notifier informing you that the conversion process has taken place.
Saving a New FileTo save a new, untitled grail file:
Chalice displays a "Save to:" dialog box. (See step 2 of "Opening an Existing File " above for more information.) Chalice assigns new files the name "untitled.grail" by default. You can change the name when you save the file. Chalice saves the file using the name and directory location you specified. Files saved in the current version of Chalice cannot be opened in earlier versions of the software. Using "Save As"You can save a copy of a currently open grail file at any time by renaming it using the "Save as" command under the File menu. You must assign a unique name, unless you want to overwrite an existing file. To rename the file:
Chalice displays a "Save to:" dialog box. Merging FilesYou can merge the contents of another file into the currently open grail file using the Merge command under the File menu.
To merge two files:
Chalice displays a "Load from:" dialog box. See "Opening an Existing File " for more information on navigating the directory structure to locate a specific file. Chalice places the contents of the specified file in the center of the workspace of the currently open file. Exporting Nodes to a New FileYou can export any selected node or nodes to a new file using the "Save Selected As" command in the Chalice File menu:
Chalice displays an "Export to:" dialog box. See step 2 of "Opening an Existing File " if you need more information. See step 3 of "Saving a New File " for information on file naming conventions. Chalice saves the file using the name and directory location you specified. Quitting Chalice
Chalice displays a notifier panel that allows you to |