--- In [email protected], [EMAIL PROTECTED] wrote:
> I did test exactly what you had written. The powerpro/explorer lockup
> happens once the "Browse for folder" item is up for about 5-10
seconds (when
> running as just the [EMAIL PROTECTED]@movefolder(_file_) ) I wonder
why you
> are having different results on me...I've tried this on two
different XP SP2
> systems. 

OK, after I read this post, I decided to test it one more time. Yes,
after a few try of InputFolder, I also noticed the locking behavior.
However, this wasn't restricted to multiple files in the explorer: I
could reproduce it even with single file in explorer or totalcmd, with
or without the explorer shell. And I think I found out the cause (:two
visible windows with "c=ghost" which imitates the browse folder and
the file manager. There are also several more "c=ghost" windows which
are hidden), and the workaround:

@MoveFolder
; static _folder_
If (not Context) do
context = 1
Win.Close("active")
_folder_ = InputFolder
EndIf
File.Move(arg(1),_folder_)
Quit

Notice the addition of Win.Close("active"). This works fine with
totalcmd, but the explorer window refuses to be closed.
So, if you use the explorer as the file manager, you may have to close
the window manually, or, though I don't recommend this, may use
Win.CloseForce("active"). If you really want to use CloseForce with
the explorer, you'd better check the option "Launch folder windows in
a separate process" in the Folder Options.

Sean




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hp6s68f/M=362335.6886445.7839731.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1124006384/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
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