> 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).
Thanks Sean, any other ideas? :)
David Troesch | Atlanta, GA | ICQ# 2333123
America: Land of the free, home of the mega-corps. http://tinyurl.com/4weom
Funstuff: Programmers: Avoid reading the backs of shampoo bottles: "Lather.
Rinse. Repeat." can cause serious problems.
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hqk45p5/M=362335.6886445.7839731.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1123950029/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/