CO programs launcher

11/22/2007 09:46 evanxxxm#1
If you have many programs, scripts for CO, this program can help u tidy things up. get rid all your co stuff on desktop and throw them in a folder deep inside your C:/

Instructions:
1. Setup Paths and Names for the first time
2. Select your program from dropdown menu and press OK

ScreenShots:
COprogV2: Display as a program on screen
[Only registered and activated users can see links. Click Here To Register...]

COtrayV2: Display in Traybar only
[Only registered and activated users can see links. Click Here To Register...]

Download Link:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Known issues
only 5 programs to be on the droplist for now. if want more, message me.

if the select path/name keep poping even after u first setting up, then u might want to check if u have security that block Ini write in C drive.

Credit:
Thanks for HackforLive's idea.

Script - AutoHotKey
11/22/2007 11:25 a1blaster#2
This idea I like better then what HackforLive wanted to do.
You have the option of picking the programs you want.

This program was made using AutoHotKey.
As such it will give false positives from scanners.

:DALL CLEAN!:D

Also if you ever want to change the programs that this opens just goto your C:\ drive and look for COpro.ini.
Either delete it and reset up CO programs launcher or open it in a text editor and change the values found inside.

Good job evanxxxm. :cool:
11/22/2007 17:02 nataro#3
Extremely Buggy Program... Good effort, But it seems 2 reset without me even pressing the Reset, And keeps asking 2 choose the programs after starting a program with it.
11/22/2007 17:36 evanxxxm#4
thanks for the testing
did u block computer that create files in C:/ ?
public computers like library, computer labs wont allow this.
well, the easiest way to check is look to see if u have C:/COpro.ini file
if u have, give a screenshot and let me see
because if u have the section1 key1 filled in, the program will never load that select page again.
if u dont have that file, yea, thats the problem, either u are using a different system than XP or u block creating files in C:/. disable your security for that
or if u compile the script by yourself, i just figure out that this forum blocks \ in code section......look back to the above script and u will see all C:\ is C: only. of course, it doesnt work

all i have is a XP computer and XP laptop, usually i tested on both and release it

btw, the first comment by my best friend, "quite useless program" because he disables desktop icons and he only have 1 script that works for CO...
11/22/2007 18:41 evanxxxm#5
ok, i have a different version for this program
that it only displays in tray icon

Download
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

Code:
Menu, Tray, Icon, Shell32.dll, 44
Iniread, Name1, C:COpro.ini, section1, key1
Iniread, Name2, C:COpro.ini, section2, key1
Iniread, Name3, C:COpro.ini, section3, key1
Iniread, Name4, C:COpro.ini, section4, key1
Iniread, Name5, C:COpro.ini, section5, key1

Iniread, Program1, C:COpro.ini, section1, key2
Iniread, Program2, C:COpro.ini, section2, key2
Iniread, Program3, C:COpro.ini, section3, key2
Iniread, Program4, C:COpro.ini, section4, key2
Iniread, Program5, C:COpro.ini, section5, key2


if Name1 = ERROR
{
msgbox, Please select the programs that you want to launch.`nChoose Cancel for empty slots.
fileselectfile, Program1,,,Please select a program for slot1,*.*
InputBox, Name1, Slot1, Please enter a Name for this file.`n%Program1%, , 540, 180
fileselectfile, Program2,,,Please select a program for slot2,*.*
InputBox, Name2, Slot2, Please enter a Name for this file.`n%Program2%, , 540, 180
fileselectfile, Program3,,,Please select a program for slot3,*.*
InputBox, Name3, Slot3, Please enter a Name for this file.`n%Program3%, , 540, 180
fileselectfile, Program4,,,Please select a program for slot4,*.*
InputBox, Name4, Slot4, Please enter a Name for this file.`n%Program4%, , 540, 180
fileselectfile, Program5,,,Please select a program for slot5,*.*
InputBox, Name5, Slot5, Please enter a Name for this file.`n%Program5%, , 540, 180

IniWrite, %Name1%, C:COpro.ini, section1, key1
IniWrite, %Name2%, C:COpro.ini, section2, key1
IniWrite, %Name3%, C:COpro.ini, section3, key1
IniWrite, %Name4%, C:COpro.ini, section4, key1
IniWrite, %Name5%, C:COpro.ini, section5, key1

IniWrite, %Program1%, C:COpro.ini, section1, key2
IniWrite, %Program2%, C:COpro.ini, section2, key2
IniWrite, %Program3%, C:COpro.ini, section3, key2
IniWrite, %Program4%, C:COpro.ini, section4, key2
IniWrite, %Program5%, C:COpro.ini, section5, key2

Iniread, Name1, C:COpro.ini, section1, key1

if Name1 = ERROR
{
msgbox, ERROR: Inputs can not be saved`nMake sure you have disable security for writting files in C:/
}
Iniread, Name2, C:COpro.ini, section2, key1
Iniread, Name3, C:COpro.ini, section3, key1
Iniread, Name4, C:COpro.ini, section4, key1
Iniread, Name5, C:COpro.ini, section5, key1

Iniread, Program1, C:COpro.ini, section1, key2
Iniread, Program2, C:COpro.ini, section2, key2
Iniread, Program3, C:COpro.ini, section3, key2
Iniread, Program4, C:COpro.ini, section4, key2
Iniread, Program5, C:COpro.ini, section5, key2

MsgBox, 4, , Are the following Names and Paths correct?`n`n%Name1%: %Program1%`n`n%Name2%: %Program2%`n`n%Name3%: %Program3%`n`n%Name4%: %Program4%`n`n%Name5%: %Program5%`n
IfMsgBox No
{
FileDelete, C:COpro.ini
sleep 1000
reload
}
}

Menu, Tray, NoStandard
Menu, Tray, Add, Open CO,open
menu, tray, add 
Menu, Tray, Add, %Name1%,p1
Menu, Tray, Add, %Name2%,p2
Menu, Tray, Add, %Name3%,p3
Menu, Tray, Add, %Name4%,p4
Menu, Tray, Add, %Name5%,p5
menu, tray, add 
Menu, Tray, Add, Reset Inputs,reset
Menu, Tray, Add, Exit,exit

loop
{
sleep 10000000000
}

open:
run, play.exe, C:Program FilesConquer 2.0
reload
return

exit:
winkill, [Conquer2.0]
exitapp
reload
return

p1:
run, %Program1%
reload
return

p2:
run, %Program2%
reload
return

p3:
run, %Program3%
reload
return

p4:
run, %Program4%
reload
return

p5:
run, %Program5%
reload
return

reset:
FileDelete, C:COpro.ini
msgbox, Names and Paths have been deleted.
reload
return
11/22/2007 19:53 HackforLive#6
evanxxxm, if t works good and stuff can I put it in my program. I will give you credit for it.
11/22/2007 20:02 HackforLive#7
Quote:
Originally Posted by a1blaster View Post
This idea I like better then what HackforLive wanted to do.
You have the option of picking the programs you want.
:( I see you really hate my program, a1blaster....:o
11/22/2007 20:15 evanxxxm#8
your program is a launcher, my program is a launcher
so why do u want to put mine in yours?

if it helps a bit, all my scripts are welcome to edit and use
11/22/2007 20:35 HackforLive#9
LOL good point, haha nvm man
11/23/2007 05:19 a1blaster#10
Added file attachments.

[Only registered and activated users can see links. Click Here To Register...]COprogV1.rar
[Only registered and activated users can see links. Click Here To Register...]COprogV1source.rar
[Only registered and activated users can see links. Click Here To Register...]COtrayV1.rar
[Only registered and activated users can see links. Click Here To Register...]COtrayV1source.rar

The programs and source files. ;)
11/23/2007 06:00 evanxxxm#11
thank you
11/23/2007 07:08 a1blaster#12
I just noticed that COprog & COtray use the default location for play.exe.
Just in case somebody doesn't have it installed in the default spot you should maybe change the coding so you can select the location of Conquers play.exe when your setting up the locations of the prgrams that you want to start.
11/23/2007 19:10 HackforLive#13
Quote:
Originally Posted by a1blaster View Post
I just noticed that COprog & COtray use the default location for play.exe.
Just in case somebody doesn't have it installed in the default spot you should maybe change the coding so you can select the location of Conquers play.exe when your setting up the locations of the prgrams that you want to start.
Yes but you can also just add it by ur self.
11/23/2007 19:20 nataro#14
evanxxxm# Yeah I'm a Vista user, I forgot 2 use the normal Vista Steps 2 run Hacks & Macros on co, (refers 2 my Signature links).
11/23/2007 19:33 a1blaster#15
@HackforLive > I know how to do the edit, but others here might not.

evanxxxm has made the changes already now anyhow.
Just uploaded Version 2 of COprogV2 & COtrayV2 for him.
You can choose the folder that your counquer is in now.
I left the source for his Version 1 stuff so members could see what was change between the two and learn from it.