GetUIStringFromCoord System Query Command

Gets the {...} .

string = GetUIStringFromCoord (coord, MEASUREMENT_TYPE)


Parameters:


Results:


Notes:


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

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


ARexx:

Applescript:

 

GetUIStringFromCoord  Command Definition  url:PGScmd/getuistringfromcoord
  created:2006-05-04 17:22:53   last updated:2006-09-14 09:47:14
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetUIStringFromCoord
Tim Doty wrote...2006-05-28 10:44:12

GetCoordFromString

for setting a string in a requester: string = GetUIStringFromCoord(coord,
measurementsysterm)

accepts 1" and 1in for one inch

GetCmdStringFromCoord

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

GetMeasurements


The coord is a large interger number than 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.

User Contributed Comments For GetUIStringFromCoord