--- stindlpeter wrote:

> The command Window("Handle", "Active") looks interesting. But how is
> the real syntax?

Taken from the Expressions page of PowerPro's help file:

---

Window Operator

Also see the wininfo plugin in the plugins.zip file in the PowerPro
folder.

The window operator lets you get at the position, size,
min/max/visible/topmost state, caption, exename, exe full path, window
class, and window handle of any window on the screen or a specifice
vdesk.. Use

window ("pos", "caption")

where pos is one of "left", "top", "bottom", "right", "height",
"width", "minimized", "maximized", "visible", "topmost", "caption",
"exename", "exefullpath", "class", "anywindow", "visiblewindow",
"firstwindow", "vdesk"and caption is a caption list string that
matches the caption of the window (e.g. *notepad* for notepad) or a
virtual desk name for "vdesk". You can also use "active" as the
caption to select the foreground window, "under" to select the window
under the mouse, and "taskbar" to access the TaskBar.

See section on window handles for information on "anywindow",
"visiblewindow", "firstwindow" and "vdesk"

For example, 

window ("right","*explorer*" )

returns the coordinate of the right side of the first window PowerPro
finds with explorer in its caption. For example,

window( "caption", "=notepad")

returns the caption of the first window found from notepad.

---

Alex Peters / Melbourne, Australia
PowerPro v3.8.15 / Windows XP



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to