<< SetScreen | SetScriptPath >> |
Top: Documentation Library | Up: S Commands |
SetScript Text Command
SETSCRIPT Text Commands
Sets the subscript or superscript style option at the insertion point, for selected text or for a style tag.
setscript
OFF Toggles off the style.
SUB Sets the default subscript.
CUSTOMSUB/d Sets a custom offset and scale.
SUPER Sets the default superscript.
CUSTOMSUPER/d Sets a custom offset and scale.
DOCUMENT/s The document name.
WINDOW/s The window name.
STYLETAG/s Sets the attribute for a style tag.
Notes:
The standard subscript and superscript styles are:
- offset: 40%
- scalex: 60%
- scaley: 60%
Examples:
setscript off setscript customsub 30 40 40 document 'project.doc' setscript super styletag 'Special Style'
SetScript Command Definition url:PGScmd/setscript
created:2006-03-31 10:52:58 last updated:2006-03-31 10:52:58
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For SetScript | sign in to add a comment |
Dan Kilroy wrote... | 2006-05-04 17:04:26 |
Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above. Gets the {...} . SetScript ([OFF | SUPER | CUSTOMSUPER yoffset xsize ysize | SUB | CUSTOMSUB yoffset xsize ysize] [DOCUMENT document | WINDOW document-window | STYLETAG document:...-tagname])
ARexx: Applescript: | |
User Contributed Comments For SetScript | sign in to add a comment |
<< SetScreen | SetScriptPath >> |
Top: Documentation Library | Up: S Commands |