scriptkitty 1 Posted January 15, 2004 (edited) Anyone know how to open up explorer in window mode via the command line? I can do it in javascript, but not standard. As in no scrollbars, no titlebar, ect. I dug up this old code I made for someone else's question, and thought it could use some improvement. Basically I am trying to get my little HTML popup function to look a bit better. $line=InputBox("Question", "What do you want to show in the popup?", "", "", -1, -1, 0, 0) $color="#00FF66" htmlshow($color,$line) MsgBox(1,"Close","") FileDelete(@ScriptDir &"\test.html") Func htmlshow($color,$line) $title="My AutoIt3 Status" winclose($title) $file = FileOpen("test.html", 2) If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf FileWriteLine($file, "<title>My AutoIt3 Status</title>"& @LF) FileWriteLine($file, "<body bgcolor="& $color &">" & @LF) FileWriteLine($file, $line & @LF) FileClose($file) Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE -k "& @ScriptDir &"\test.html","",@SW_HIDE) WinWait ( $title, "") WinMove ( $title, "", 1, 1, 400, 400) WinShow ($title, "", @SW_RESTORE) EndFunc PS this was an old test.au3, and it could use a lot more variables, but I am too lazy to fix it. Edited January 16, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Share this post Link to post Share on other sites