Search the Community
Showing results for tags 'shell.explorer.2'.
-
Hi. I'm trying to do a teletext viewer. Here is my code: #include <GUIConstantsEx.au3> #include <EditConstants.au3> #include <ButtonConstants.au3> Local $sURL = "http://www.ndr.de/public/teletext/100_01.htm" Local $oIE = ObjCreate("Shell.Explorer.2") GUICreate("NDR Text", 494, 601) GUICtrlCreateObj($oIE, 0, 0, 513, 574) Local $idLabel_Number = GUICtrlCreateInput("", 2, 574, 60, 25, $ES_CENTER) GUICtrlSetFont(-1, 14) GUICtrlSetLimit(-1, 3) GUICtrlSetState(-1, $GUI_FOCUS) Local $idButton_OK = GUICtrlCreateButton("OK", 64, 574, 60, 25, $BS_DEFPUSHBUTTON) GUICtrlSetFont(-1, 14) $oIE.navigate($sURL) GUISetState(@SW_SHOW) ;Show GUI While 1 $iMsg = GUIGetMsg() Switch $iMsg Case $GUI_EVENT_CLOSE ExitLoop Case $idButton_OK If GUICtrlRead($idLabel_Number) >= 100 And GUICtrlRead($idLabel_Number) < 900 Then $oIE.navigate("http://www.ndr.de/public/teletext/" & GUICtrlRead($idLabel_Number) & "_01.htm") EndIf GUICtrlSetState($idLabel_Number, $GUI_FOCUS) EndSwitch WEnd GUIDelete() It works but it doesn't look so good as shown direct in the InternetExplorer 11. Differences seen in the images I attached. I want to have the look like in the IE (first picture). How to change my code? Regards, Conrad
- 2 replies
-
- document mode
- compatibility
-
(and 2 more)
Tagged with:
-
I have Shell.explorer.2 that display Output in HTML and now I'm trying to add Javascript to work with Bing translator API. Unfortunately, I use "_IEBodyWriteHTML" and javascript doesnt show anything, even "alert()" while it works when I save output to a HTML then open with Firefox our Chrome. I can just write a HTML file then Navigate to it in $oIE to make it work but I want to know if there is another way doing this? Thanks.
-
- html
- javascript
-
(and 2 more)
Tagged with: