Jump to content

Help Me Gui (IE)


Recommended Posts

#include <GUIConstants.au3>
#include <IE.au3>


$oIE = _IECreateEmbedded ()
$Form1 = GUICreate("Form1", 429, 96, 193, 125)
$GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 429, 96)
GUISetState(@SW_SHOW)
_IENavigate ($oIE, "http://www.google.com")




While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
        Exit
    EndSwitch
WEnd

There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly

Link to comment
Share on other sites

J'utilise Google aussi. Parlent le français, ce sera mieux.

Je ne crois pas qu'il n'y aura aucun problème avec les règles.

/

I use Google too. Speak French, it will be better.

I don't think there will be any problem with the rules.

Edited by Aassdd
Link to comment
Share on other sites

Does someone who can add button previous and next Please

#include <GUIConstants.au3>
#include <IE.au3>


$oIE = _IECreateEmbedded ()
$Form1 = GUICreate("Form1", 500, 500, 193, 125)
$GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 500, 450)
GUISetState(@SW_SHOW)
_IENavigate ($oIE, "about:blank")

$back=GUICtrlCreateButton("Back",10,460,30,30)
$forward=GUICtrlCreateButton("Forward",50,460,50,30)


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
Case $back
    Send("{BROWSER_BACK}")
Case $forward
    Send("{BROWSER_FORWARD}")
Case $GUI_EVENT_CLOSE
        Exit
    EndSwitch
WEnd

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

^ Doesn't work for me.

EDIT:

#include <GUIConstants.au3>
#include <IE.au3>


$oIE = _IECreateEmbedded ()
$Form1 = GUICreate("Form1", 500, 500, 193, 125)
$GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 500, 450)
GUISetState(@SW_SHOW)
_IENavigate ($oIE, "http://www.google.com/")

$back=GUICtrlCreateButton("Back",10,460,30,30)
$forward=GUICtrlCreateButton("Forward",50,460,50,30)


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
Case $back
    _IEAction($oIE, "back")
Case $forward
    _IEAction($oIE, "forward")
Case $GUI_EVENT_CLOSE
        Exit
    EndSwitch
WEnd
Edited by Aassdd
Link to comment
Share on other sites

^ Doesn't work for me.

EDIT:

#include <GUIConstants.au3>
#include <IE.au3>


$oIE = _IECreateEmbedded ()
$Form1 = GUICreate("Form1", 500, 500, 193, 125)
$GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 500, 450)
GUISetState(@SW_SHOW)
_IENavigate ($oIE, "http://www.google.com/")

$back=GUICtrlCreateButton("Back",10,460,30,30)
$forward=GUICtrlCreateButton("Forward",50,460,50,30)


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
Case $back
    _IEAction($oIE, "back")
Case $forward
    _IEAction($oIE, "forward")
Case $GUI_EVENT_CLOSE
        Exit
    EndSwitch
WEnd
yeah, it work for me but only with "about:blank" , when i change it into a address, it doesn't anymore, i think i'll find out why

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

I believe that the example in the helpfile for _IECreateEmbedded does exactly what you are trying to do.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...