AlmarM Posted September 21, 2007 Share Posted September 21, 2007 How can I get a picture that I made into the GuiSetIcon() ?? I now got: GuiSetIcon(@DesktopCommonDir & "picture", 0) picture = \example.format Someone knows why it wont work ? Mayby im doing it wrong ?? Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
Zedna Posted September 21, 2007 Share Posted September 21, 2007 GuiSetIcon(@DesktopCommonDir & "\picture.ico") or GuiSetIcon(@DesktopCommonDir & "\picture_file.exe", 0) Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
AlmarM Posted September 21, 2007 Author Share Posted September 21, 2007 GuiSetIcon(@DesktopCommonDir & "\picture.ico") or GuiSetIcon(@DesktopCommonDir & "\picture_file.exe", 0)How I make a .exe from it ? Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
AlmarM Posted September 21, 2007 Author Share Posted September 21, 2007 I already found it GuiSetIcon("CFG.ico")With Script AND .ico in the same dir Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
Zedna Posted September 21, 2007 Share Posted September 21, 2007 The best choice if you want to set this icon only once: place this at begin of your script #AutoIt3Wrapper_Icon=cfg.ico Then after compiling your GUI and application will have this icon. I use this in all my AutoIt projects. Resources UDF ResourcesEx UDF AutoIt Forum Search 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