sifatoni Posted November 24, 2019 Share Posted November 24, 2019 Hi, I'm new to this forum as well as in this community. I don't know a lot about programming, So I wanted to make a simple script that can run this website (https://jeanropke.github.io/RDR2CollectorsMap/) in ObjCreate("Shell.Explorer.2"). But unfortunately this page can't load properly. Can anyone help me please? Here's my script #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $oIE, $GUIActiveX Local $msg $oIE = ObjCreate("Shell.Explorer.2") GUICreate("Red Dead Online Map", @DesktopWidth, @DesktopHeight, 0, 0, BitOR($WS_POPUP, $WS_EX_TOPMOST, $WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN)) $GUIActiveX = GUICtrlCreateObj ($oIE, 0, 0, @DesktopWidth, @DesktopHeight) GUISetState() $oIE.navigate("https://jeanropke.github.io/RDR2CollectorsMap/") While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd GUIDelete() EndFunc Link to comment Share on other sites More sharing options...
seadoggie01 Posted November 25, 2019 Share Posted November 25, 2019 I would suggest using the IE.au3 include file and _IECreateEmbedded() instead of ObjCreate("Shell.Explorer.2"). Shell.Explorer.2 creates an older version of IE if I understand correctly All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types Link to comment Share on other sites More sharing options...
Danp2 Posted November 25, 2019 Share Posted November 25, 2019 @seadoggie01 So does _IECreateEmbedded unless you override with a registry entry IIRC. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
seadoggie01 Posted November 25, 2019 Share Posted November 25, 2019 Oh. So I see. Ignore me slinking off then All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 25, 2019 Moderators Share Posted November 25, 2019 Moved to the appropriate forum. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
sifatoni Posted November 25, 2019 Author Share Posted November 25, 2019 10 hours ago, seadoggie01 said: I would suggest using the IE.au3 include file and _IECreateEmbedded() instead of ObjCreate("Shell.Explorer.2"). Shell.Explorer.2 creates an older version of IE if I understand correctly IECreateEmbedded() is not working too. The result is same like Shell.Explorer.2 Link to comment Share on other sites More sharing options...
Danp2 Posted November 25, 2019 Share Posted November 25, 2019 Read this forum post -- Nine 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Nine Posted November 25, 2019 Share Posted November 25, 2019 Tested Danp2 link and it works for your site (emulation IE11) “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now