Search the Community
Showing results for tags 'ico'.
Found 3 results
Is it possible to compile script without any icon resources included? When I make exe it uses default system icon of current OS even if I compile as console application. On other versions of Windows it looks a little strange Update: It seems that the only way is remove icons from exe after compilation using resource editors like ResHacker. another bad solution: Using corrupted 35 bytes icon file. Windows can't load it and shows default system icon. #pragma compile(Icon, broken.ico) broken.ico
I have learned how to use TraySetIcon icon and toggle between icons that I added as resources using #AutoIt3Wrapper_Res_Icon_Add=C:\Program Files (x86)\AutoIt3\Icons\au3.ico My current work around is Doit() Func Doit() Local $TestIcon = @ScriptDir&"\Test.ico" Local $ProdIcon = @ScriptDir&"\Prod.ico" Local $Test = "Test" Local $Prod = "Prod" Local $Current = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\My Program","Location") If $Current = $Prod Then FileCreateShortcut($Test,@DesktopCommonDir&"\TestLink.lnky",Default,Default,"Test Link",$TestIcon) RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\My Program",$Test) Else FileCreateShortcut($Test,@DesktopCommonDir&"\TestLink.lnky",Default,Default,"Test Link",$ProdIcon) RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\My Program",$Prod) EndIf EndFunc I did a bit of quick cutting, from my working program. Basically it creates an link on the desktop, and then deletes it and creates a new one each time it is run. If you where wondering, I made it a .lnky file so that I could add a custom right click menu for it. This example came from a something I am using to switch between prod and test environments, so the actual link created does not launch the script. You can right-click on the link and run the script to change environments. The icon lets me know at a glance which environment I am currently set for. What I am trying to figure out is if there is a way to change the icon of the executable of the script only using the resources compiled within that script. What would be nice would be to have a ScriptSetIcon function.
Not an example or script. Lets post icons! This is just a thread where I'll attempt to collect existing autoit icons and post my own version, anyone who is capable of creating them is encouraged to post theirs! Also, you might notice I have something for shiny looking things test 2.ico test.ico test2.ico Auto.ico AutoIt.ico au3.ico Here is a variation I made of the OEM autoit icon, here's the difference, when explorer displays the 32px and below version of the icons image index, you might notice that the silver ring in the original version of the autoit icon looks a little fat, in this version, it should look a little more slim and modern. Autoit 2.ico ?do=embed' frameborder='0' data-embedContent> And ?do=embed' frameborder='0' data-embedContent> designed by weaponx and converted to icon by eignxing. Posted it here since it's relevant. autoit blue.ico Here is another awesome icon created by AlmarM For anyone interested in making their own version, here's the CS5 template for the EOM icon I use, just click the image to download. Requests are considered, but I'm not a pro at this either Edit: And if anyone is a bad enough dude to let me know what font is used in the autoit logo, that would be cool. Edit: thanks damian666 for the prompt delivery!