Jump to content
Sign in to follow this  


Recommended Posts

I look in the help... also look the examples and I don't find this...

What's a label link? Is it a label which links you to a website when you click on it ?

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.

Share this post

Link to post
Share on other sites

#include <guiconstants.au3>
; ======== creating the GUI =======
$the_GUI = GUICreate ("Test" , 350 , 80)
; =========== Create the Lable  ===============
$link_1 = GUICtrlCreateLabel ("AutoIt Script Website" , 10 , 15, 230,20)
GUICtrlCreateLabel ("a website link" , 250 , 15, 100,20)
$link_2 = GUICtrlCreateLabel ("support@autoitscript.com" , 10 , 45, 230,20)
GUICtrlCreateLabel ("an e-mail link" , 250 , 45, 100,20)
; =========== Modifying the lable font and color ============
GUICtrlSetFont ($link_1 , 14 , 600)
GUICtrlSetColor ($link_1 ,0x004080)

GUICtrlSetFont ($link_2 , 14 , 600)
GUICtrlSetColor ($link_2 ,0x004080)
; =========== setting the Color of the Lable ===========
GUICtrlSetCursor ($link_1 , 0)
GUICtrlSetCursor ($link_2 , 0)
; ====== setting the GUI state  =========
GUISetState (@SW_SHOW , $the_GUI)

; ====== looping  ==============
While 1
    $msg = GUIGetMsg ()
    ; ========= this event is for closing the program  ========
    If $msg = $gui_event_close Then Exit
    ; ===== this event is for lunching the link  =========
    If $msg = $link_1 Then
        ShellExecute ("www.autoitscript.com",1)
    If $msg = $link_2 Then
        Run(@ComSpec & " /c " & 'start mailto:support@autoitscript.com?subject=this_is_the_subject', "", @SW_HIDE)

I recommend you to search more befor asking for help

I suck in searching but this way you don't let ppl to think u're lazy


good luck

Edited by star2

[quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u]

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...