New to AutoIt

08/05/2018 17:27 Ridl3#1
Hello all,

I want to learn how to make a bot for auto it and i need some help now.
I followed the tutorial on this website and that helped me alot.

I was wondering if it is possible to link a button to a website.
What do i use for that ?

Also does anybody have some good starting tutorials for autoit ? :D

already got it
08/05/2018 23:35 elmarcia#2
Advice to learn something, use included help file, in scite text editor press F1, with lots of examples, i always look in the index section some functions to check sintax.

Code:
$gui = GUICreate("",200,200)
$label = GUICtrlCreateLabel("Author:Something",0,155,200,35)
GUICtrlSetFont($label,15,700,2,"Cooper")
GUICtrlSetCursor($label,"Hand")
GUISetState()

$website = "www.elitepvpers.com/forum/members/3449101-elmarcia.html"

While 1
$msg = GUIGetMsg()
If $msg == -3 Then Exit 0
if $msg == $label Then
ShellExecute($website)
EndIf
WEnd