forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Can't figure it out !

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Fri Aug 08, 2003 3:48 pm    Post subject: Can't figure it out ! Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Fri Aug 08, 2003 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri Aug 08, 2003 4:53 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Aug 08, 2003 5:40 pm    Post subject: Reply with quote

ShellExecuteAPI has lot more functionality than VDS "shell" I don't know if it helps your particular case.
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Fri Aug 08, 2003 5:41 pm    Post subject: Reply with quote

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. Smile


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
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Aug 08, 2003 5:51 pm    Post subject: Reply with quote

I also want that @cmdline() works when using the #define command... Embarassed
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group