--- In [email protected], [EMAIL PROTECTED] wrote:
> > You can't use 'Local' variable for Folder, it should be at 
> > least 'Static':
> > 
> > The command: [EMAIL PROTECTED](_file_)
> 
> This doesn't work because powerpro and/or explorer lock up when you
have:
> another dialog appear after clicking an explorer context menu, but
before
> focus is returned to explorer. You have to bounce if off a second
iteration
> of powerpro to keep them from locking up.
> 
> Hence the: 
> &(pproexefolder)\PowerPro.exe [EMAIL PROTECTED](_file_)
> Note: pproexefolder is a custom variable I initialize on my system
alone at
> ppro startup.
> 
> > -------------- Context.PowerPro ----------------------------
> > @MoveFolder
> > ; static _folder_
> > If (not Context) do
> > context = 1
> > _folder_ = InputFolder
> > EndIf
> > File.Move(arg(1),_folder_)
> > Quit
> > ------------------------------------------------------------
> 
> This works fine with a single file, but when multiple files are
selected the
> 2nd+file is moved while the browse for folder dialog is still up.
> 
> Adding wait.for(not anywindow("Browse For Folder"))
> 
> Seems to cause one of the run's of the script to wait indefinitely
(only one
> file is moved).

Have you tried what I suggested? OK, I didn't tested it when I posted,
as I don't use the explorer shell/filemanager. Now, since you said so,
I tried it myself with the explorer. It worked flawlessly, at least
here in my system: XP2SP2.

Sean




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hejlug6/M=362335.6886445.7839731.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1123953104/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