Jump to content
Sign in to follow this  

Display Web Site

Recommended Posts

I use a <iframe> command in my HTML how can I display a Web page (it is just images and links for those images) Is there a way? I know how to get information from a Site but how can I make a link and the image display correctly?

Share this post

Link to post
Share on other sites

Did you try looking up the _IE controls in the helpfile? You can also use pictures as buttons and link them to web pages if you do not actually need to update them from the web. (see below)

#include <GUIConstants.au3>

$frmWebLinks = GUICreate("Web Links!", 266, 130, 193, 115)
$picGoogleLink = GUICtrlCreatePic(@ScriptDir & "\GoogleLink.jpg", 16, 16, 100, 100, BitOR($SS_NOTIFY,$WS_GROUP))
$picAutoITLink = GUICtrlCreatePic(@ScriptDir & "\AutoITLink.jpg", 152, 16, 100, 100, BitOR($SS_NOTIFY,$WS_GROUP))

While 1
    $Msg = GUIGetMsg()
        Case $Msg = $GUI_EVENT_CLOSE
        Case $Msg = $picGoogleLink
            run(@comspec & " /c start http://www.google.com","",@SW_HIDE)
        Case $Msg = $picAutoITLink
            run(@comspec & " /c start http://www.autoitscript.com","",@SW_HIDE)

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