Jump to content

Change Icon? One more question


eXXe
 Share

Recommended Posts

A very easy question.

But i don't find it out...

How can i change theese autoit Icon and can make my own in?

(in the .exe window on the top left)

[sloved]

Watch last post for new question ;)

Edited by eXXe
Link to comment
Share on other sites

A very easy question.

But i don't find it out...

How can i change theese autoit Icon and can make my own in?

(in the .exe window on the top left)

GUISetIcon --------------------------------------------------------------------------------

Sets the icon used in a GUI window.

GUISetIcon ( iconfile [, iconID [, winhandle]] )

Parameters

iconfile used to display the icon in the title area.

iconID [optional] The ID of the icon in the iconfile. (Default is -1).

winhandle [optional] Windows handle as returned by GUICreate (default is the previously used window).

Link to comment
Share on other sites

A very easy question.

But i don't find it out...

How can i change theese autoit Icon and can make my own in?

(in the .exe window on the top left)

If you use Scite then you can select the icon when you get the compile dialog from the Tools menu.

Or, you could use GUISetIcon in your script.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

If you use Scite then you can select the icon when you get the compile dialog from the Tools menu.

Or, you could use GUISetIcon in your script.

How can i select the icon there?

Or someone could post an example of GUISetIcon? How i tried it didn't worked

Edited by eXXe
Link to comment
Share on other sites

How can i select the icon there?

Or someone could post an example of GUISetIcon? How i tried it didn't worked

The dialog has a button to the right of the icon input which brings up a file open dialog.

The help file has an example of how to use GuiSetIcon.

If you can't get it to work you need to post your script so we can see what's wrong.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Ok thanx to you all, got it now ;)

I got it now with GUISetIcon ( "icon.ico" )

The easyest way, but if someone dont have this file, is it showing up there still if its an .exe one time?

Edited by eXXe
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...