Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Individual icon assignment to a compiled script


  • Please log in to reply
3 replies to this topic
Beastmaster
  • Guests
  • Last active:
  • Joined: --
Hi,
nice to know there's a forum for AHK !
This minute I've compiled an AHK script. Is it / or will it be possible to assign an individual icon to a compiled script (like in A2 :wink:).

Haven't found anything in the manual !?

Thx.

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
Yes, just run the compiler directly (rather than right-clicking the file and choosing "Compile Script"). There is a shortcut to the compiler in the Start Menu called "Convert .ahk to .exe".

After running it, there is a place to specify a custom icon. Once you specify it, that icon will be in effect for all future compiles, even if you use the right-click "Compile Script" method.

Edit: I'm going to add this somewhere to the documentation, so thanks for noticing the omission.

Beastmaster
  • Guests
  • Last active:
  • Joined: --
With A2 I guess it's also a commandline feature. In the manual it could be placed somewhere close to "compile" an exe.

Thx, for your support.

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
Since Ahk2Exe is just a modified version of Aut2Exe, all the command line options should still work with it. I'll add this in the documentation.