roofninja Posted January 7, 2014 Share Posted January 7, 2014 I'm trying to have my icon as the icon for any program that I make. So, I had this working but now it doesn't work and don't know why. I am now using Windows 7 64bit with the lastest version of AutoIt. What I am doing is right clicking on the au3 file and choosing ether x86 or x64. So when I do that I still get the Autoit generic icon and not the one I want. #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=..Iconspenguin3.ico #AutoIt3Wrapper_Compression=4 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** I tried using this because I store all my autoit files on a flash, but this didn't work ether. #AutoIt3Wrapper_Icon=E:all autoit backupautoit_files_lapiconpenguin3.ico RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 7, 2014 Moderators Share Posted January 7, 2014 (edited) With the latest version, the icon file defaults to the Windows unknown app icon. If you would like to include your own icon, you could do something like this: #pragma compile(icon, "C:\MyIcon.ico") It would be worth your while to look up #pragma in the help file to see all the wrapper changes. Edited January 7, 2014 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
roofninja Posted January 8, 2014 Author Share Posted January 8, 2014 Thanks. I didn't know about the changes. I know that this should have worked, but I wonder if this is not working now, is because I also installed the full version of the SciTE. Do I have to direct it to the correct file converter for autoit? RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 8, 2014 Moderators Share Posted January 8, 2014 With the latest full version of AutoIt, this test below works just fine. Did you try it with only a single leading . instead of two? #AutoIt3Wrapper_Icon = .\Icons\MyIcon.ico MsgBox(0, "", "Test") "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Developers Jos Posted January 8, 2014 Developers Share Posted January 8, 2014 What I am doing is right clicking on the au3 file and choosing ether x86 or x64. So when I do that I still get the Autoit generic icon and not the one I want. Should still work when it worked before. Have you tried from SciTE with F7, because the right-clicking sounds like you just run aut2exe and not AutoIt3Wrapper. Jos 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