User Tools

Site Tools


function:WINDOW

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
function:WINDOW [2019/12/24 22:48]
JMichaelTX Clarify use of option parameters
function:WINDOW [2019/12/24 22:52]
JMichaelTX
Line 1: Line 1:
 **The `WINDOW()` function returns the desired coordinate of the specified window**, and can have one or two parameters. \\ **The `WINDOW()` function returns the desired coordinate of the specified window**, and can have one or two parameters. \\
 Like all [[:​Functions|Functions]],​ it can be used _only_ in a [[:​Text_Fields#​Numeric_Fields|numeric calculation field]]. Like all [[:​Functions|Functions]],​ it can be used _only_ in a [[:​Text_Fields#​Numeric_Fields|numeric calculation field]].
 +
 +====== Usage ======
  
   - **`WINDOW(Coordinate)`**   - **`WINDOW(Coordinate)`**
Line 8: Line 10:
  
  
 +====== Parameters ======
  
  
 The first parameter, `Index`, which is optional, may be: The first parameter, `Index`, which is optional, may be:
  
-* 0: the main or action ​window.+* 0: the frontmost ​window ​of the frontmost app.
 * Positive Number: the indexed window from front to back. * Positive Number: the indexed window from front to back.
 * Negative Number: the indexed window from back to front. * Negative Number: the indexed window from back to front.
function/WINDOW.txt ยท Last modified: 2023/09/20 04:33 by peternlewis