Sign in to follow this  
Followers 0
mesale0077

cd error finding the file path

2 posts in this topic

#1 ·  Posted (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 by mesale0077

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