Jump to content

#AutoIt3Wrapper_Icon


jaja714
 Share

Recommended Posts

Because I am sharing code with other members of my team, I'm reluctant to hard-code the icon location here.  While %scriptdir% works with #AutoIt3Wrapper_outfile, #AutoIt3Wrapper_Run_Before and #AutoIt3Wrapper_Run_after, it does not seem to work for #AutoIt3Wrapper_Icon.  Should I continue looking for solutions or am I stuck?

For example;

#AutoIt3Wrapper_Run_Tidy=Y                                                     ; run tidy before compile/build
#AutoIt3Wrapper_outfile=%scriptdir%\temp.exe                                   ; build temp exe first
#AutoIt3Wrapper_Icon=%scriptdir%\Win7IconPack\Windows 7 (58).ico               ; include this icon
#AutoIt3Wrapper_Run_Before=del "%out%"                                         ; delete temp exe
#AutoIt3Wrapper_Run_After=move/y "%out%" "%scriptdir%\%scriptfile%.exe"        ; move temp exe to real exe

 

Link to comment
Share on other sites

  • Developers

You do realize that this directive is solely used at compilation time to tell aut2exe which Icon to add to the target exe?

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...