mesale0077 Posted July 27, 2012 Share Posted July 27, 2012 (edited) hi this code work but , When I write to cd , it can not find the file path error "file://E:/index.html" it can not find the file path All files must be in the same directory thank you now #include <GuiStatusBar.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> #NoTrayIcon Opt("TrayIconHide", 1) $PanTask = _IECreateEmbedded() $Pandora = GUICreate("forum1", 590, 240) $PanGUI = GUICtrlCreateObj($PanTask,-10, -10, 600, 320) _IENavigate($PanTask, @ScriptDir &"index.html") DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $Pandora , "int", 1500, "long", 0x00040008);slide-in from bottom GUISetState(@SW_SHOW, $Pandora) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE _IEAction($PanTask, "refresh") _IEErrorHandlerDeRegister() DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $Pandora, "int", 1500, "long", 0x00050004);slide-out to bottom GUIDelete($Pandora ) Exit EndSwitch WEnd Edited July 27, 2012 by mesale0077 Link to comment Share on other sites More sharing options...
AZJIO Posted July 28, 2012 Share Posted July 28, 2012 _IENavigate($PanTask, @ScriptDir & "index.html") My other projects or all 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