Note: This is a work in progress and will be formatting errors. Read more about the project on the home page. owner
This read-only property tells you the name of the background to which a specified card belongs, or it tells you the creator of a window. Long owner of card returns the full path name of the background. Short owner of card returns the short name of the background. Owner of card returns “bkgnd” plus the leaf name of the background. The window form returns HyperCard if it's a stack or built-in window, or the name of an XCMD if it's an external window. Examples
PlaceholderswindowOne of HyperCard’s built-in windows, the window containing the current stack (called the card window), or any other window containing a stack, as follows:
Note: If a window containing a stack is inactive, you can set only its location and visible properties.
Important: External windows can’t be substituted for the window placeholder (see the externalWindow placeHolder). card An expression that identifies a card by name, number, or id using one of the following forms (in AppleScript, use “background” in place of “bkgnd”):
card id posInteger [of bkgnd ]card text [of bkgnd ] -- namecard posInteger [of bkgnd ] -- numberordinal card [of bkgnd ]position card [of bkgnd ]ordinal marked cardposition marked cardmarked card posIntegerFor example:
When used inside a card script in HyperTalk:
When a card receives a message: See also: button and field |
Version 0.7b1 (March 24, 2022)