<< GetCmdStringFromCoord | GetColumn >> |
Top: Documentation Library | Up: G Commands |
GetColors Style Query Command
Gets the {...} .
count = GetColors (&names/.0.1... [DOCUMENT document | CHAPTER document:... | WINDOW document-window])
Parameters:
Results:
Notes:
This retrieves only the colors defined in a Document or Chapter level. If you want a list of all colors defined in all levels, you would need to recursive scan all chapters (and sub-chapters).
See Also:
Examples:
Python:
>>> print GetColors('names')
{'.error': 1, 'names': ['White', 'Black', 'Red', 'Green', 'Blue', 'Cyan', 'Magenta', 'Yellow', 'Purple', 'Orange'], '.result': 10}
{'.error': 1, 'names': ['White', 'Black', 'Red', 'Green', 'Blue', 'Cyan', 'Magenta', 'Yellow', 'Purple', 'Orange'], '.result': 10}
ARexx:
Applescript:
GetColors Command Definition url:PGScmd/getcolors
created:2006-05-04 16:49:12 last updated:2006-07-10 08:50:09
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For GetColors | sign in to add a comment |
There are no user contributed comments for this page. |
<< GetCmdStringFromCoord | GetColumn >> |
Top: Documentation Library | Up: G Commands |