Is this normal?
This happend once, with version 4.4.08a on WinXP sp1 when this hotkey was pressed:
Key = Ctrl+Alt+w
Cmd1 = .windowinfo("under")
Cmd2 = exec windowinfo
; --- windowinfo script begins here
local captions=arg(1)
local opts=arg(2)
local fdebug=not index(opts,"no2debug")
local fclip =not index(opts,"no2clip")
local fmtwindowinfo=not index(opts,"fmtnowindowinfo")
local fmtcaption=not index(opts,"fmtnocaption")
local fmtcontrol=not index(opts,"fmtnocontrol")
Local HandleList = Win.HandleList(captions, 1)
If(Not(HandleList))
MessageBox("Warning", esc(?"No windows match the given caption list:\r\n" ++ captions,?"\"),
scriptname)
; --- all one line above
local buf="" ;; return buffer
For(Local hi = 1; ; hi = hi + 1)
Local h = Word(HandleList, hi)
If(Not(h))
Break
;buf = hi ++ ". " [EMAIL PROTECTED](h)
buf=""
if(fmtcaption)
buf = hi ++ ". "
if(fmtwindowinfo)
buf = buf ++ [EMAIL PROTECTED](h)
;hi ++ ". " ++ Win.Caption(h) ++ " (Handle " ++ h ++ ", Class C=" ++ Win.Class(h) ++ ")"
; --- all one line above
if(fdebug)
win.debug(buf)
;; loop: read any text from all window controls
for(local i=1;i<100;i=i+1)
local s=miscplugin.get_windowtext(h,i,"","win=all","sep=13")
if("" != s && 0 == index(s,"NOT_FOUND"))do
if(fdebug)
win.debug(" ",if(fmtcontrol,i++"."),s)
buf=buf++if(""!=buf,esc("0x0d0x0a",0))++if(fmtcontrol,i++". ")++s
endif
endfor
;; show debug window and put on clipboard
if(""!=buf)do
if(fdebug)
win.show("powerpro debug")
if(fclip)do
clip.clear
clip.textappend(buf)
endif
endif
EndFor
quit(buf)
@wininfo
local h=arg(1)
local b=win.caption(h)
b=b++ esc(??\n?,??\?)++win.handle(h) ++ " c="++ win.class(h)
b=b++ esc(??\n?,??\?)++win.exepath(h)++ " pid="++ win.getprocessid(h)
b=b++ esc(??\n?,??\?)++"(" ++win.left(h)++","++win.top(h)
b=b ++") (" ++ win.right(h)++","++win.bottom(h)
b=b ++ ") " ++ win.width(h)++"x"++win.height(h)
b=b++ esc(??\n?,??\?)++if(not win.visible(h),"hidden ")
b=b ++if(win.maxxed(h),"maxxed ")
b=b ++if(win.minned(h),"minned ")
b=b ++if(win.rolled(h),"rolled ")
b=b ++if(win.topmost(h),"topmost ")
b=b ++if(win.trayminned(h),"trayminned ")
b=b ++ifelse(1==win.hascaption(h),"",ifelse(2==win.hascaption(h),"hastoolcaption
","hasnocaption"))
b=b ++if(not win.resizable(h),"notresizable ")
b=b ++if(not win.maxable(h),"notmaxable ")
b=b ++if(not win.minable(h),"notminable ")
b=b ++if(win.toolwindow(h),"toolwindow ")
b=b++ esc(??\n?,??\?)++"browserurl: "++browserurl
quit(b)
Attention: PowerPro's Web site has moved: http://www.ppro.org
SPONSORED LINKS
| Computer monitoring software | Power pro | Computer and internet software |
| Free computer monitoring software |
YAHOO! GROUPS LINKS
- Visit your group "power-pro" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
