I have a script like this:
::#1016;copyto T:\prt\icor2008
::#1016;copyto T:\cbr\icor2008
::#1016;copyto T:\lsb\icor2008
::#1016;copyto T:\evr\icor2008
::#1016;copyto T:\far\icor2008
::#1016;copyto T:\ang\icor2008
::#1016;copyto T:\fnc\icor2008
but when in the catalog I run it I get a popup menu where I have to choose one of the lines. What I want is to have all the lines executed.
running script with several commands
-
jcmn
- Posts: 179
- Joined: 18 Sep 2007 11:34
- Location: portugal
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Re: running script with several commands
Well, I don't think you need to focus list each time, but to get everything executed at once it needs to be seen as one script, so you need to put a ; after your copyto commands and put everything on the same line (or multiple lines with indentation).
For example this should work :
For example this should work :
Code: Select all
focus list;
copyto T:\prt\icor2008;
copyto T:\cbr\icor2008;
copyto T:\lsb\icor2008;
copyto T:\evr\icor2008;
copyto T:\far\icor2008;
copyto T:\ang\icor2008;
copyto T:\fnc\icor2008;Proud XYplorer Fanatic
XYplorer Beta Club