cafe_nau Posted December 26, 2006 Share Posted December 26, 2006 Opt("TrayIconHide", 1); AutoItSetOption("WinTitleMatchMode",2); $ie = ObjCreate("InternetExplorer.Application"); $ie.visible = 0; $ie.ToolBar = 1; $ie.StatusBar = 1; $ie.FullScreen = 1; $ie.Height = 800; $ie.Width = 600; $ie.Top = 0; $ie.Left = 0; $ie.navigate("www.aaa.com") WinMove("Download aaa, "", 0, 0, 800, 600); $WinPos = WinGetPos("Download aaa"); $FramePos = ControlGetPos("Download aaa", "", "Internet Explorer_Server1"); $WinSize = WinGetClientSize("Program Manager", ""); While ($ie.busy <> 0) sleep(2000); WEnd $ie.navigate("www.aaa.com") Send("{ASC 2709}"); Link to comment Share on other sites More sharing options...
FuryCell Posted December 26, 2006 Share Posted December 26, 2006 (edited) You had a syntax error on line 13. You never closed the first string. Opt("TrayIconHide", 1); AutoItSetOption("WinTitleMatchMode",2); $ie = ObjCreate("InternetExplorer.Application"); $ie.visible = 0; $ie.ToolBar = 1; $ie.StatusBar = 1; $ie.FullScreen = 1; $ie.Height = 800; $ie.Width = 600; $ie.Top = 0; $ie.Left = 0; $ie.navigate("www.aaa.com") WinMove("Download aaa", "", 0, 0, 800, 600); $WinPos = WinGetPos("Download aaa"); $FramePos = ControlGetPos("Download aaa", "", "Internet Explorer_Server1"); $WinSize = WinGetClientSize("Program Manager", ""); While ($ie.busy <> 0) sleep(2000); WEnd $ie.navigate("www.aaa.com") Send("{ASC 2709}"); Edit:Just a little advice. It is often better to use #NoTrayIcon instead of Opt("TrayIconHide", 1). It is possible to use Opt("TrayIconHide", 1) to remove the AutoIt tray icon but it will still be visible for a second when the script starts. Placing the #NoTrayIcon directive at the top of your script will stop the icon from being shown at startup. You may still turn the icon back on later in the script using Opt("TrayIconHide", 0) Edited December 26, 2006 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. 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