Sign in to follow this  
Followers 0
JavaScript_Freek

It's Own Icon?

25 posts in this topic

You know how you have like the little picture above top left suck as note or paint if you want? Well how can you make your own picture and put it there?

Thanks.


[center]Cookyx.com :: Simple LAN Chat[/center]

Share this post


Link to post
Share on other sites



What??? :whistle:

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

#include <GUIConstants.au3>
; == GUI generated with Koda ==);
$Form1 = GUICreate("AForm1", 622, 441, 192, 125)
GUISetIcon("D:\AutoIT\icon1.ico")
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;;;;;
    EndSelect
WEnd

Is this what you want.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Why won't this work?

#include <GUIConstants.au3>
; == GUI generated with Koda ==);
$Form1 = GUICreate("AForm1", 622, 441, 192, 125)
GUISetIcon("http://i37.photobucket.com/albums/e91/Zombie1992/foldericon21.png")
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;;;;;
    EndSelect
WEnd
Edited by JavaScript_Freek

[center]Cookyx.com :: Simple LAN Chat[/center]

Share this post


Link to post
Share on other sites

you could use "InetGet" ( in help file )

then use the file that was downloaded

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

You are not using a .ico file. Download the .png file to your computer and find some software to convert it to a .ico file.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

you could use "InetGet" ( in help file )

then use the file that was downloaded

8)

Where would be a good program?

[center]Cookyx.com :: Simple LAN Chat[/center]

Share this post


Link to post
Share on other sites

If you are refering to the answer that I gave the answer would be Irfanview which is free. It can be downloaded from www.irfanview.com.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

Where would be a good program?

Thanks! I know how to use the program! :whistle:

[center]Cookyx.com :: Simple LAN Chat[/center]

Share this post


Link to post
Share on other sites

Ok what's the script so you have have your own icon instead of the default AutoIt picture.

You know where it shows.


[center]Cookyx.com :: Simple LAN Chat[/center]

Share this post


Link to post
Share on other sites

Hi,

search for compile im help file.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

In the autoit folder, there is a folder called Icons, just replace the one that looks like the one you want to replace with a different one and name it the same thing

Edited by Paulie

Share this post


Link to post
Share on other sites

In the autoit folder, there is a folder called Icons, just replace the one that looks like the one you want to replace with a different one and name it the same thing

Why the hell do that? In the helpfile it is described how to choose an icon.

Start "compile script to exe" in your Autoit folder.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Why the hell do that? ...Start "compile script to exe" in your Autoit folder.

maybe I don't want to compile it...

then what?

Share this post


Link to post
Share on other sites

Hi,

ah now I got it. :">

That makes sense. :)

<-- :whistle:

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

No, actually it doesn't really make sense when all you need is resource hacker in your CompileAu3 folder.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Hi,

1st I thought you want to set the icon of a script when you compile it to script.exe

2nd I thought you want to change the default icon of the scripts.au3

3rd after the last post of SmOke_N, I could be possible that you meant to change an icon of a script.exe

:whistle::):)

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

In the autoit folder, there is a folder called Icons, just replace the one that looks like the one you want to replace with a different one and name it the same thing

To choose the one i want do i just double click it?

[center]Cookyx.com :: Simple LAN Chat[/center]

Share this post


Link to post
Share on other sites

To choose the one i want do i just double click it?

What :whistle: ?

If your using SciTe choose your compile option from the Tools menu, and just click on the ... button that has the icon there, click the one you want, and compile with it. I can't remember if you need resource hacker for this but it's pretty self explanitory.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#20 ·  Posted (edited)

To choose the one i want do i just double click it?

No, the comp takes those pics, and uses them as icons for a certain type of file, so you fool the computer by just switching the picture even though it's the same name and in the same spot

@Smoke_N

I don't think he wants to compile it...

he wants to change the Icon of his .au3 script i think

Edited by Paulie

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