sgp wrote (on 01.04.2008 23:24):
> ..it's pleasantly fast on my 3-year old laptop.
I'm glad to hear that :) It's my standard min-action now.
> But when I "minimize" 3
> or more - in a loop that calls @ThumbMin with a single handle...
Have you seen @ThumbToggleAll? Is this what you might be looking for? It
works pretty fast and keeps VDesks separated as well, i.e. "Minimize
all" and "Restore all" do not mess with other VDesks' thumbnails.
On a side note: Some applications (mostly Delphi apps) have different
handles for their visible state and minimized state of the *very same*
windows. To see this: Use Exec WindowInfo before minimization and hover
over the thumbnail to compare the handles.
> In a couple of cases I got a script error:
>
> Cannot access file
> C:\Documents and Settings\sgp\Local
> Settings\Temp\pp_thumb_pspad_(21562972-0x149065c).bmp
...
> AllWindows is a script that loops applying the same action (@ThumbMin) to
> each window handle.
See above. ThumbToggleAll uses a different logic, so using a simple
win.handlelist("*") in a loop may or may not work, because some windows
which are reported by PP to be visible are actually not visible (again
mostly Delphi apps). Use ThumbToggleAll as a template for your loop.
The file access error has most probably something to do with this too,
and because you're probably calling Thumbmin too fast, before the other
one's finished. If you want to use your script instead of
ThumbToggleAll, uncomment this line, call @ThumbReset, and pls inform me
if it happens again:
;Wait.for(not s_TMRunning) ;; line 535
Thanks for the feedback and HTH
------------------------------------
Attention: PowerPro's Web site has moved: http://www.ppro.orgYahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/