Sign in to follow this  
Followers 0
bundyxc

Changing icons.

8 posts in this topic

I've searched the help file, as well as the forum (maybe not thoroughly enough?), and can't find a way to change the icon of the EXE once I've compiled it.. I also don't know how to change the icon that shows up in the system tray. As I've said, I searched the helpfile, and I just couldn't find it. I'm assuming that it's a Windows thing? I don't want to change it solely on my computer, but if I send somebody the program, I want it to show up with that icon. Any ideas?


Global $arr[2]

$arr[0]="hip"
$arr[1]="hip"
;^^ hip hip array. ^^

Share this post


Link to post
Share on other sites



@bundyxc

When you have compiled an autoit script, you cant change icon with autoit functions because its an exe..

-You want to change icon after compile then use reshacker

-You want to change icon after compile do right click on your au3 script > compile with options and select an icon

-You want to change tray icon use TraySetIcon()

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

When you run aut2exe, you can select an icon. You can also use the #au3_wrapper commands.

As for setting the tray icon, use TraySetIcon().

Share this post


Link to post
Share on other sites

Is there any way to take it out of the tray altogether?

Also, does that mean that when transferring the file to another computer, I need to send them the .ico file as well?


Global $arr[2]

$arr[0]="hip"
$arr[1]="hip"
;^^ hip hip array. ^^

Share this post


Link to post
Share on other sites

@bundyxc

No... look at FileInstall function

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Is there any way to take it out of the tray altogether?

Yes.. #NoTrayIcon

Also, does that mean that when transferring the file to another computer, I need to send them the .ico file as well?

No need to when its the ICO set at compilation time

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

You can use #NoTrayIcon to hide the icon. It's listed in the help file. O.o

Oops, Jos posted while I was somewhere else.

Edited by Richard Robertson

Share this post


Link to post
Share on other sites

You can use #NoTrayIcon to hide the icon. It's listed in the help file. O.o

Sorry, I've been searching through there, but hadn't found it. Sorry!


Global $arr[2]

$arr[0]="hip"
$arr[1]="hip"
;^^ hip hip array. ^^

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  
Followers 0