Sign in to follow this  
Followers 0
roofninja

AutoIt3Wrapper info

5 posts in this topic

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 !!!

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

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 !!!

Share this post


Link to post
Share on other sites

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")

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

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


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

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