I just tested here on WinXP SP1 and it works exactly as Sean describes.
Making the Folder variable static is essential if you have
selected more than one file, otherwise only one of the files
is moved because for subsequent files the Folder var is empty.
The command: [EMAIL PROTECTED](_file_)
-------------- Context.PowerPro ----------------------------
@MoveFolder
static Folder
If (not Context) do
context = 1
Folder = InputFolder
EndIf
File.Move(arg(1),folder)
Quit
------------------------------------------------------------
It doesn't need this line:
wait.for(not anywindow("Browse For Folder"))
because InputFolder waits until the input dialog is closed
before continuing with the next line in the script.
Anyway it works OK here without any waits.
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12huhgqta/M=362329.6886308.7839368.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1123998803/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</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/