| View previous topic :: View next topic |
| Author |
Message |
onefunkyone
Joined: 16 Jul 2006 Posts: 15
|
Posted: Sun Jul 16, 2006 6:30 pm Post subject: One click shortcut opens all... |
|
|
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 |
|
 |
onefunkyone
Joined: 16 Jul 2006 Posts: 15
|
Posted: Sun Jul 16, 2006 6:58 pm Post subject: |
|
|
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 |
|
 |
Veratil

Joined: 29 Aug 2003 Posts: 3536 Location: Texas
|
Posted: Sun Jul 16, 2006 7:07 pm Post subject: |
|
|
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. Batch files are a fine solution too.
|
_________________
ASTONSHELL.COM FORUM MODERATOR |
|
| Back to top |
|
 |
onefunkyone
Joined: 16 Jul 2006 Posts: 15
|
Posted: Sun Jul 16, 2006 7:09 pm Post subject: |
|
|
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 |
|
 |
onefunkyone
Joined: 16 Jul 2006 Posts: 15
|
Posted: Sun Jul 16, 2006 7:26 pm Post subject: |
|
|
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 |
|
 |
littleweseth

Joined: 20 Oct 2003 Posts: 1058 Location: James Cook University, QLD, Aust.
|
Posted: Tue Jul 18, 2006 10:06 am Post subject: |
|
|
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 |
|
 |
Liderc

Joined: 13 Nov 2003 Posts: 1611 Location: Sometimes I wish it were Elysium
|
Posted: Tue Jul 18, 2006 11:09 am Post subject: |
|
|
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 |
|
 |
onefunkyone
Joined: 16 Jul 2006 Posts: 15
|
Posted: Tue Jul 18, 2006 10:17 pm Post subject: |
|
|
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 |
|
 |
Liderc

Joined: 13 Nov 2003 Posts: 1611 Location: Sometimes I wish it were Elysium
|
Posted: Wed Jul 19, 2006 10:42 am Post subject: |
|
|
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 |
|
 |
|