Jump to content
Sign in to follow this  

ICON on gui/DESK top/Splash screen before gui opens

Recommended Posts

Hi All, Another no doubt silly question. Just trying to pimp my GUI so that the icon at the top left/Desk top ICON/ Splash screen if thats what its called displays one of my ICONs. But read through the forum and cant seem to put it into practice. Any help would be greatly appreciated ;)

#include <GuiConstantsEx.au3>

#include <AVIConstants.au3>

#include <TreeViewConstants.au3>

#include <AD.au3>

#include <Outlook.au3>

#include <Excel.au3>

#include <ButtonConstants.au3>

#include <GuiTab.au3>

#AutoIt3Wrapper_Res_Icon_Add= ISS.ICO

#AutoIt3Wrapper_Res_Icon_Add= ISS.ICO


Global $LANID1234, $GATEWAY, $AVATAR, $FORENAME,$hGUI,$hTab_1, $getlan1, $SMPUSERPW, $sInitials , $sSurname

;===============GUI SECTION===========================================


$pass = InputBox ("enter password", "Please enter your password","","*",150,80)

If $pass <> "coolio123" Then

MsgBox (1,"warning" , "Incorrect Password" & @CRLF & " Try Again")


Until $pass == "coolio123"

GuiCreate("Identity Management", 600, 600)

$filemenu = GUICtrlCreateMenu("File")

$fileitem = GUICtrlCreateMenuItem("Password...", $filemenu)

GUICtrlSetOnEvent($fileitem, "pwstore")

Share this post

Link to post
Share on other sites

I have no ideas for you while in script form, but when you go to compile the script with the included compiler, you can add an icon to your application, that will appear when ran as an executable.

My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.  

Share this post

Link to post
Share on other sites

For doing the Script Icon, use this:

TraySetIcon(@ScriptFullPath, -1) ;Sets the Tray Icon to the first icon attached to your script

If you want images in your GUI's without having to install image files on the system, look for Resources.au3

Note, you'll only see this when compiled.

Edited by AJStevens

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...