<< GetControlAttr | GetCoordFromString >> |
Top: Documentation Library | Up: G Commands |
GetCoord Undefined Command
GETCOORD Dialog Box Queries
Opens a small dialog box to instruct the user to click on the page to return a coordinate value to the script. The dialog box has a Cancel button.
getcoord
stem/a Gets the mouse coordinates.
MESSAGE/s The message to display. Max length = 55 characters.
Results:
If Cancel is chosen, it sets RC to 10. If the user clicks on the page, it sets RC to 0 and returns the coordinates to the stem variable.
stem
x/d The horizontal coordinate.
y/d The vertical coordinate.
Examples:
'getcoord coord message "Click on the page"'
GetCoord Command Definition url:PGScmd/getcoord
created:2006-03-30 22:20:06 last updated:2006-03-30 22:20:06
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For GetCoord | sign in to add a comment |
There are no user contributed comments for this page. |
<< GetControlAttr | GetCoordFromString >> |
Top: Documentation Library | Up: G Commands |