VDdev Posted September 22, 2015 Share Posted September 22, 2015 Hi guys, I have a personal page wich requires login, and after that I want to redirect the user to a flash quiz, but it shows me a back img, here si the code, please tell me if I did something wrong:P.S. I need the quiz page to be zoomed at 40% P.S.S. I am pretty new in autoit, sorry for including os many files, but that's not the entire project The idea is that my user must login and then press the button1 and be redirected to the flash quizThe login works, the button works, but the flash quiz does not expandcollapse popup#include <IE.au3> #RequireAdmin #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <TabConstants.au3> #include <WindowsConstants.au3> #include <FileConstants.au3> #include <WinAPIFiles.au3> #include <AutoItConstants.au3> #include <ButtonConstants.au3> #include <ComboConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <GuiStatusBar.au3> #include <InetConstants.au3> #include <Math.au3> #include <MsgBoxConstants.au3> #include <ProgressConstants.au3> #include <SliderConstants.au3> #include <StaticConstants.au3> #include <TabConstants.au3> #include <WindowsConstants.au3> #include<Misc.au3> #include <File.au3> #include <MsgBoxConstants.au3> #include <FileConstants.au3> #include <MsgBoxConstants.au3> #include <WinAPIFiles.au3> #include <File.au3> #include <IE.au3> #Region ### START Koda GUI section ### Form= $Form2 = GUICreate("quiz", 412, 495, 339, 132) $sLink="LINK+OF_THE+LOGIN_PAGE" $iZoom = 100 $oIE = ObjCreate("Shell.Explorer.2") $Pic1 = GUICtrlCreateObj($oIE, 8, 32, 393, 289) _IENavigate($oIE, "about:blank") _IEBodyWriteHTML($oIE, "<iframe style='zoom:" & $iZoom & "%' src='http://" & $sLink & "' width='100%' height='100%'>") $Button1 = GUICtrlCreateButton("Button1", 80, 8, 49, 17) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $iZoom = 40 _IENavigate($oIE, "about:blank") _IEBodyWriteHTML($oIE, "<iframe style='zoom:" & $iZoom & "%' src='LINK_OF_MY_QUIZ_AFTER_LOGIN" & "' width='100%' height='100%'>") EndSwitch WEnd Link to comment Share on other sites More sharing options...
VDdev Posted September 22, 2015 Author Share Posted September 22, 2015 I just checked, and I have the last IE version, so the problem is not from the browser 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