![]() |
|
tsave |
Longname: | t save | ![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Released: | not available | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Created: | not available | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also: | tdspref tsaven tks tsavea tsavetxt tsavehtm |
Summary |
Saves the current document or portions of it to a file. The only difference between the tsave and tsaven macros is how they behave when the parameters are omitted. The tsave macro will automatically save the whole document under its current file name, unless its extension is .3f (used for 3B2 template files), in which case it will behave like tsaven and invoke a dialogue box into which you may type a file name. |
Example extract |
The macro shown below simply saves the current document. If this is a .3f file the save document dialogue box will prompt you to enter a new name.
|
Syntax
|
Ø: |
tsave saves the current document as a .3d file unless its file extension is .3f. In this case tsave behaves like tsaven which displays the Save Document dialogue box. |
default:n |
|
file:s |
The file name under which you want to save the current document or a portion of it. The first part of file is either an optional prefix which you can specify, or the name of the entity within the file that you want to save. The second part of file is an extension, either .3d or .3f, or one of the special file suffixes listed below. Any entity saved with the special extensions can be loaded into any other document with the tload macro.
|
options:s |
|
Example |
The macro shown below saves the current document – test1.3d -- under a new name, but still in .3d format. The previous version of the document is not deleted or over-written. The new file will be called test2.3d, and will by default be saved in Arbortext APP's working directory, usually \3d.
|
Example |
This macro saves an object graphic with the tag name Object to file. The file name will be object.3o:
|
Example |
The example below saves a defined colour as a tag within document, so that the c,m,y,k can be retrieved.
If your colour name is "COLOUR_TAG" then execute the following macro:
This will create a text tag in your document called "COLOUR_TAG." (with trailing dot). You can examine this to get the 3B2 definition. If you want, you can change the definition to replace the existing colour by executing the following macro: The Tag Clash dialogue box will appear on your screen.
If you do not want to change this definition, delete the old colour tag first or use thewdb macro to force the
|
Document created on 08-Feb-2003, last reviewed on 06-Sep-2005 (revision 1)