
NAURTECH WEB BROWSER AND TERMINAL EMULATION FOR WINDOWS CE AND WINDOWS MOBILE
CETerm Scripting Guide Page 78
Get the window with which the user is working.
Check if window is enabled for input.
Check if window is visible.
Check if window handle is valid.
Post a message to a window.
Send a message to a window.
Set a window as the current working window.
status = EnableInput ( windowHandle, enabled )
Enable or disable input to a window. If enabled is true then mouse and keyboard
input is enabled. Return true if window was previously disabled or false if
window was previously enabled. Check the Window property LastError to
determine the success of the method.
windowHandle = Find ( windowClass, windowName )
Find the handle of the top-level window that matches the given window class or
window name. Either argument may be an empty string. Return the non-zero
window handle or 0 if not found. Use the Window property LastError to get
additional error information.
windowHandle = GetDesktop ( )
Get the handle of the desktop window.
windowList = GetList ( )
Return a list of current top-level windows. The returned list is in the form of a
JavaScript array literal [ …] which contains JavaScript object literals {…}
containing information about each window. See Section 2.8 for details about
handling JavaScript literals. Return null if error. Use the Window property
LastError to get additional error information.
The returned literal has the following format:
[ {hwnd:0x7c010680, processID:0x0, text:"CursorWindow"},
{hwnd:0x7c012d70, processID:0xf79f79aa, text:""},
{hwnd:0x7c01cf20, processID:0x77452dda, text:"Edit Script 6"},
{hwnd:0x7c01bb70, processID:0x77452dda, text:"Scripting"},
{hwnd:0x7c0189c0, processID:0x77452dda, text:"S1 - Configure"},
Commenti su questo manuale