cafe_nau Posted November 2, 2006 Posted November 2, 2006 (edited) #include <IE.au3>$IE=_IEcreate ("www.vnexpress.net")_IELoadWait ($IE)$IE1=_IEImgClick ($IE, "http://www.vnexpress.net/AdImages/canon_130x180(1).gif")_IELoadWait ($IE)_IEQuit ($IE)_IEquit ($IE1)but i can't close $ie1?? Edited November 2, 2006 by cafe_nau
jokke Posted November 2, 2006 Posted November 2, 2006 try this. #include <IE.au3> $oIE = _IEcreate ("www.vnexpress.net") _IELoadWait ($oIE) _IEImgClick ($oIE, "http://www.vnexpress.net/AdImages/canon_130x180(1).gif") _IELoadWait ($oIE) _IEQuit ($oIE) but what i dont understand why ? click's? UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.
jvanegmond Posted November 2, 2006 Posted November 2, 2006 but i can't close $ie1??$IE1 was a undeclared variable. AutoIt had no idea what the value of $IE1 was, so it tells you this with a "undeclared variable" message. You have to assign a value to a variable before you can use it, which in your case, you didn't. Simply remove the $IE1 and you're good to go. github.com/jvanegmond
cafe_nau Posted November 2, 2006 Author Posted November 2, 2006 Thx all!And how can I close the page opened by _IEImgClick ($oIE, "http://www.vnexpress.net/AdImages/canon_130x180(1).gif")
cafe_nau Posted November 2, 2006 Author Posted November 2, 2006 and how my soft run automatically when window start?
cppman Posted November 3, 2006 Posted November 3, 2006 (edited) That question has been answered many times in the forum the past week.... anyways... here it is: Func _SelfStartup($sName = "AutoIt Program") Return RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", $sName, "REG_SZ", @ScriptFullPath) EndFunc Edited November 3, 2006 by CHRIS95219 Miva OS Project
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