Sign in to follow this  
Followers 0
NewForAutoit

Help Me Gui (IE)

16 posts in this topic

I Need A Code To Make The View From Google Home Page on this form

#include <GUIConstants.au3>

$Form1 = GUICreate("Form1", 429, 96, 193, 125)

GUISetState(@SW_SHOW)

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

EndSwitch

WEnd

Share this post


Link to post
Share on other sites



#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

Share this post


Link to post
Share on other sites

I love when new people ask for help in example scripts.

Share this post


Link to post
Share on other sites

Move this topic to General Support?


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

Yeah that would be nice...


[center][/center]

Share this post


Link to post
Share on other sites

I hate when people don't read the subtitles on the subsections of this forum and post in the wrong place.

Share this post


Link to post
Share on other sites

who doesn't?


[center][/center]

Share this post


Link to post
Share on other sites
Does someone who can add button previous and next Please

Share this post


Link to post
Share on other sites

If you are trying to make an internet browser then search in the example scripts section. There are many.

PS: What language do you speak? Maybe using a translator would help us understand you :)

Share this post


Link to post
Share on other sites

sorry I speak no English uses a translator I google

I am a French

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

^ 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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Because it sends {BROWSER_BACK} without the IE "control" activated. So you got to use ControlSend. But _IEAction is easier.

Share this post


Link to post
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

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