Jump to content
Sign in to follow this  
AngelTouch

Qustion :auto change icon

Recommended Posts

AngelTouch

I'm working on many applications which help run exes from different places and fix sound and graphical options before game start.

to save time for customers and so much asking questions.

i made many exes and changed there icons so ppl who don't try to read know what they want from the

shape of the icon is there any way

i could add a script to my au3 to make it auto select the icon from adding it's name take the icon from

and transform it's icon 2 that one?

Edited by AngelTouch

Share this post


Link to post
Share on other sites
jvanegmond

i could add a script to my au3 to make it auto select the icon from adding it's name take the icon from

and transform it's icon 2 that one?

This line is all garble to me.

You can compile your script with an icon. Supply the icon on compile-time to the Au2Exe program.

Share this post


Link to post
Share on other sites
AngelTouch

no i mean before i compile my au3 for example i want to add this file 2 igi and the exe of the game is

igi2.exe

i add to my script

icon.ico = igi2.exe ... i'm looking for a code that

my autoit.exe transformer it's icon to the game icon

Share this post


Link to post
Share on other sites
AngelTouch

w8ting for a replay plz

i use icon remover to take icon from exe

then when i compile my exe i brows the ico

but this take lot of time and some exes are too big

they take quite a time

i want some thing like that is something like that

$ico = (@WorkingDir &"\game.exe",@WorkingDir &"\new compiled.exe")

i know what i wrote is wrong ... :)

all i have 2 do is to rename my game from igi2.exe to game.exe

after i compile my au3 and add it to @workingdir the new compiled exe take the icon of game.exe

and if i copy this new compiled exe 2 another game Gta folder and i named the GTA-San.exe to Game.exe

the new compiled exe take the new icon which is the Gta-san.exe

Share this post


Link to post
Share on other sites
AngelTouch

i have another question

can i write many commands on the same line

sleep(20) - sleep(50) - end

and if yes plz tell me how

Share this post


Link to post
Share on other sites
Bert

OK, from all your giberish, I think you want to rip the icon from one exe and use it in your exe. Well, in a nutshell, most cases you can't. If the EXE doesn't let you do it, your out of luck.

For your second question, there is no real need to do such a thing. If you do it, all you end up doing is making your code hard as hell to debug when you make a mistake. If I was you, take AutoIt 1 2 3, watch the videos on YouTube, and read the helpfile.

Share this post


Link to post
Share on other sites
AngelTouch

thanx for ur replay ...

but is there any more helpfull replayz

...

if i can rip the icon from exe to my project how could i do that ?!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×