| View previous topic :: View next topic |
| Author |
Message |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Fri Aug 08, 2003 3:48 pm Post subject: Can't figure it out ! |
|
|
I want a user to be able to right click on a file, of select a number of files by highlighting them. I then want them to be able to right click on the selected files and SEND TO (Copy them to a destination)
Any ideas? I can't get my head around it. I keep coming up againts the command line parameters for vds as max 9 so i can only copy 9 files?
Nathan |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Fri Aug 08, 2003 3:52 pm Post subject: |
|
|
Well, there is the function @Cmdline(). It gets everything from the command line. If you can find a way to seperate the files into a list, that should work. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Aug 08, 2003 4:53 pm Post subject: |
|
|
Instead of using:
| Code: | | shell open,my.exe,file1,file2,file3,etc |
use somthing like:
| Code: | | shell open,my.exe,file1|file2|file3|etc |
and then parse the input.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Fri Aug 08, 2003 5:40 pm Post subject: |
|
|
ShellExecuteAPI has lot more functionality than VDS "shell" I don't know if it helps your particular case. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Fri Aug 08, 2003 5:41 pm Post subject: |
|
|
| FreezingFire wrote: | Instead of using:
| Code: | | shell open,my.exe,file1,file2,file3,etc |
use somthing like:
| Code: | | shell open,my.exe,file1|file2|file3|etc |
and then parse the input.  |
That won't work in this case, as the executable is opened by Explorer and Explorer is always
separating the files with spaces. It seems like @CMDLINE() will probably work excellently
for this purpose though.
I think it would be much better though if the SHIFT limit of 9 parameters would be
removed though. |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
|