GetCoordFromString System Query Command

Gets the {...} .

coord = GetCoordFromString (string, defaultmeasurementtype)


Parameters:


Results:


Notes:


See Also:
AlertRequester, AppendListString, CloseResource, CreateLanguageEngineList, CreateList, CreateRequester, DoLanguageEngineFormatDate, DoLanguageEngineLocalizeString, DoRequester, FreeLanguageEngineList, FreeList, FreeRequester, GetCmdStringFromCoord, GetControlAttr, GetFolderPath, GetResourceString, GetUIStringFromCoord, OpenResource, PrependListString, SetControlAttr, SortList

Examples:
Additional example in ''RequesterExample.py''.
Python:


ARexx:

Applescript:

 

GetCoordFromString  Command Definition  url:PGScmd/getcoordfromstring
  created:2006-05-04 17:22:47   last updated:2006-09-14 09:46:11
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetCoordFromString
Tim Doty wrote...2006-05-28 10:42:15

coord = GetCoordFromString(string, defaultmeasurementsystem)

1" is one inch

GetUIStringFromCoord
GetCmdStringFromCoord

Where measurementsystem can be INCHES | CENTIMETERS | MILLIMETERS | PICAS |
POINTS | PRINTERPOINTS | CICEROS | DIDOTPOINTS | METRICPOINTS | FEET | METERS
GetMeasurements


The coord is a large integer number that you can add together, divide,
etc. If you want to add say 1 inch to something, then you would simply need
to pass "1in" to GetCoordFromString to get the number to add to the coord.
Then if the PageStream numbering system ever changed, you're "future proof".

User Contributed Comments For GetCoordFromString