www.astonshell.com

One click shortcut opens all...

 
Post new topic   Reply to topic    AstonShell.com Forum Index   Other
View previous topic :: View next topic  
Author Message
onefunkyone



Joined: 16 Jul 2006
Posts: 15

PostPosted: Sun Jul 16, 2006 6:30 pm    Post subject: One click shortcut opens all... Reply with quote

That's been on my mind for quite a bit of time now, and maybe it's possible with aston (or explorer too.. Im no programmer...hence me asking).

Is it possible to create a shortcut (or button or whatever it has to be) that will launch many applications?

I know I can place shortcuts under the "startup" folder, but I don't like that.
I would make a shortcut for let's say chat programs, it would open MSN, ICQ, mIRC all at once, instead of manually opening each program.

Is it possible?

Thank you

Back to top
View user's profile Send private message
onefunkyone



Joined: 16 Jul 2006
Posts: 15

PostPosted: Sun Jul 16, 2006 6:58 pm    Post subject: Reply with quote

Yay!

Batch files!!

For those who don't know, here it is

Create a new txt file.

type in :
start C:\"Program Files"\ICQLite\ICQLite.exe
start C:\"Program Files"\"MSN Messenger"\msnmsgr.exe

save as bat file.
2x click the file BAM

Back to top
View user's profile Send private message
Veratil



Joined: 29 Aug 2003
Posts: 3536
Location: Texas

PostPosted: Sun Jul 16, 2006 7:07 pm    Post subject: Reply with quote

I made a program that takes all the programs you want to open from the command line (or like from a shortcut).

I do this: OpenFiles.exe "path1" "path2" "path3", etc. etc. Smile Batch files are a fine solution too.


_________________

ASTONSHELL.COM FORUM MODERATOR
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
onefunkyone



Joined: 16 Jul 2006
Posts: 15

PostPosted: Sun Jul 16, 2006 7:09 pm    Post subject: Reply with quote

Ok i seem to have a problem with getting mirc power pack to start this way.. I think it's because of the command linee parameters.

You have a link to your program?!
Id like to try that!

Back to top
View user's profile Send private message
onefunkyone



Joined: 16 Jul 2006
Posts: 15

PostPosted: Sun Jul 16, 2006 7:26 pm    Post subject: Reply with quote

wo0t

cd C:\"Program Files\mIRC Power Pack\"
start mpp.exe


I know its not aston related, but.. thats why I asked in other!

I'm still interrested in your lil tool!

Back to top
View user's profile Send private message
littleweseth



Joined: 20 Oct 2003
Posts: 1058
Location: James Cook University, QLD, Aust.

PostPosted: Tue Jul 18, 2006 10:06 am    Post subject: Reply with quote

cd C:\"Program Files\mIRC Power Pack\"
start mpp.exe

Should probably be

cd "C:\Program Files\mIRC Power Pack\"
start mpp.exe

instead?

by the way, you should just be able to skip change directory and just put in "C:\Program Files\mIRC Power Pack\mpp.exe" instead. If you need command-line arguments, add them outside the quotes : i.e. "C:\Program Files\mIRC Power Pack\mpp.exe" -kKrpX --no-foo -aybabtu 42.


_________________

::[ Fear the SphericalCUBE™ ]::
Taqke a shower and shine your shoes; you got no time to lose : you're young men, you must be living...
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Liderc



Joined: 13 Nov 2003
Posts: 1611
Location: Sometimes I wish it were Elysium

PostPosted: Tue Jul 18, 2006 11:09 am    Post subject: Reply with quote

Nice, Wes. I was just going to comment on that as well. Also, you can use environment variables to make that a little more uniform for distribution.
Code:
"C:\Program Files\mIRC Power Pack\"

could also be written as:

"%ProgramFiles%\mIRC Power Pack"

The benefit to using environment variable is that if you distribute your batch file, it will still work no matter where the person's "Program Files" directory is. So if you have, "C:\Program Files" in the batch and someone else's Program Files directory is "D:\Program Files" the %ProgramFiles% variable will account for that.


_________________
Back to top
View user's profile Send private message AIM Address
onefunkyone



Joined: 16 Jul 2006
Posts: 15

PostPosted: Tue Jul 18, 2006 10:17 pm    Post subject: Reply with quote

littleweseth : for mirc power pack, it wouldnt work as "C:\Program Files\mIRC Power Pack\mpp.exe" (no matter how I placed the " " " " ").

so i had to use the cd command

And as for arguments, I wasn't sure if they would work. I'll take your word. If I ever need to add arguments, now I know it's possible, Thanks!

liderc, thanx for the head's up !

Back to top
View user's profile Send private message
Liderc



Joined: 13 Nov 2003
Posts: 1611
Location: Sometimes I wish it were Elysium

PostPosted: Wed Jul 19, 2006 10:42 am    Post subject: Reply with quote

NP, onefunkyone. For a list of environment variables that your system uses, right-click "My Computer" > Properties > Advanced > Enviroment Variables (the button is underneath the Startup and Recovery section and next to Error Reporting). On the left is the variable and on the right is the path that the variable represents. All you have to do is take the variable on the left and put % around it (e.g. - %ProgramFiles%).

_________________
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AstonShell.com Forum Index   Other 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


This forum is available via an RSS feed  Click to see the XML version of this web page.

Copyright © 1999-2007 Gladiators Software