Sign in to follow this  
Followers 0
HiNoTora

IE.au3

5 posts in this topic

Hihi i made one Gui, but i have somekind error in it.

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>

_IEErrorHandlerRegister()

Local $oIE = _IECreateEmbedded()
GUICreate("EmbeddedWebControl-Test", 1000, 1200, _
        (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
        $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)
GUICtrlCreateObj($oIE, 10, 40, 400, 200)

GUISetState() 
_IENavigate($oIE, "http://fxsignals.fxmarketleaders.com/shortsignalsng.aspx")


While 1
    Local $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
         
            
       
WEnd
GUIDelete()

Exit

And as u can see GUI is big enough, So id like to add one more frame in it with different webpage. but as much i try, it allways opens up new gui with new page. How i can have second one ion side in this GUI?

Share this post


Link to post
Share on other sites



Hihi i made one Gui, but i have somekind error in it.

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>

_IEErrorHandlerRegister()

Local $oIE = _IECreateEmbedded()
GUICreate("EmbeddedWebControl-Test", 1000, 1200, _
        (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
        $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)
GUICtrlCreateObj($oIE, 10, 40, 400, 200)

GUISetState() 
_IENavigate($oIE, "http://fxsignals.fxmarketleaders.com/shortsignalsng.aspx")


While 1
    Local $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
         
            
       
WEnd
GUIDelete()

Exit

And as u can see GUI is big enough, So id like to add one more frame in it with different webpage. but as much i try, it allways opens up new gui with new page. How i can have second one ion side in this GUI?

And one more thiing, NO scroll bars and Gui shold be topmost >.<

Share this post


Link to post
Share on other sites

Something like this?

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>

_IEErrorHandlerRegister()

Global $oIE1 = _IECreateEmbedded(), $oIE2 = _IECreateEmbedded()
Global $iGUIWidth = @DesktopWidth-30, $iGUIHeight = @DesktopHeight-70
$hGUI = GUICreate("EmbeddedWebControl-Test", $iGUIWidth, $iGUIHeight, 0, 0, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)
$hObj1 = GUICtrlCreateObj($oIE1, 10, 10, $iGUIWidth-20, ($iGUIHeight/2) - 5)
$hObj2 = GUICtrlCreateObj($oIE2, 10, ($iGUIHeight/2) +15, $iGUIWidth-20, ($iGUIHeight/2) - 25)
GUISetState()
_IENavigate($oIE1, "http://fxsignals.fxmarketleaders.com/shortsignalsng.aspx")
_IENavigate($oIE2, "http://www.autoitscript.com")
While 1
    Local $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
    EndSelect
WEnd
GUIDelete()
Exit

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

 

Something like this?

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>

_IEErrorHandlerRegister()

Global $oIE1 = _IECreateEmbedded(), $oIE2 = _IECreateEmbedded()
Global $iGUIWidth = @DesktopWidth-30, $iGUIHeight = @DesktopHeight-70
$hGUI = GUICreate("EmbeddedWebControl-Test", $iGUIWidth, $iGUIHeight, 0, 0, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)
$hObj1 = GUICtrlCreateObj($oIE1, 10, 10, $iGUIWidth-20, ($iGUIHeight/2) - 5)
$hObj2 = GUICtrlCreateObj($oIE2, 10, ($iGUIHeight/2) +15, $iGUIWidth-20, ($iGUIHeight/2) - 25)
GUISetState()
_IENavigate($oIE1, "http://fxsignals.fxmarketleaders.com/shortsignalsng.aspx")
_IENavigate($oIE2, "http://www.autoitscript.com")
While 1
    Local $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
    EndSelect
WEnd
GUIDelete()
Exit

YUSH! Thanks man.. $oIE2 = _IECreateEmbedded() was the thing i didnt know xD thanks again

Share this post


Link to post
Share on other sites

:)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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