Bert Posted September 14, 2005 Share Posted September 14, 2005 Is there a way to change the AutoIt tray icon? I want to keep it visible, but change it to a different icon. I wrote a application (UNPlus) to work with a program we use, and I want to have a special icon in the tray while UNPlus is running. Is this possible? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
peethebee Posted September 14, 2005 Share Posted September 14, 2005 Hi! The tray icon depends on the icon of the program itself. So just use "Compile with options" and speciy your icon. Perhaps use Resource Explorer to get the icon of the original app if you need this one. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
Dickb Posted September 14, 2005 Share Posted September 14, 2005 Is there a way to change the AutoIt tray icon? I want to keep it visible, but change it to a different icon. I wrote a application (UNPlus) to work with a program we use, and I want to have a special icon in the tray while UNPlus is running. Is this possible?<{POST_SNAPBACK}>Maybe you can use this command (see also the help file)TraySetIcon ( [iconfile [, iconID] )The example from the help fileOpt("TrayMenuMode",1) ; Default tray menu items (Script Paused/Exit) will not be shown. $exititem = TrayCreateItem("Exit") TraySetState() $start = 0 While 1 $msg = TrayGetMsg() If $msg = $exititem Then ExitLoop $diff = TimerDiff($start) If $diff > 1000 Then TraySetIcon("Shell32.dll",Random(0,100,1)) $start = TimerInit() EndIF WEnd ExitI hope this helps you. Link to comment Share on other sites More sharing options...
Bert Posted September 14, 2005 Author Share Posted September 14, 2005 How do you compile with options? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
peethebee Posted September 14, 2005 Share Posted September 14, 2005 right click on the au3 file in the explorer and click the respective option. Very simple. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
Bert Posted September 14, 2005 Author Share Posted September 14, 2005 Did that. Choice not provided. I have run script, compile script, edit script and open. thats it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted September 14, 2005 Share Posted September 14, 2005 Open Aut2exe and choose the icon through there Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
Developers Jos Posted September 14, 2005 Developers Share Posted September 14, 2005 Did that. Choice not provided. I have run script, compile script, edit script and open. thats it.<{POST_SNAPBACK}>This option is only available when you have CompileAU3 installed ( Included in SciTE4AutoIt3) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now