voidale Posted September 2, 2009 Share Posted September 2, 2009 (edited) Hey guys, I'm trying to go to a webpage, and click on the Download. this webpage --->http://bit.ly/zO7gD I know you can do ineget, I need a real mouse click! #include <IE.au3> $oIE = _IECreate() _IENavigate($oIE, "http://www.sw*eet*im.com") _IEImgClick ($oIE, "http://www.swe*et*im.com/landing2/images/but_download.gif") This makes a "To help protect your security" security popup. and you have to press on it and press download. yes you can turn it off by settings but I dont want to, I need some how to detect X, Y, and MouseClick but i cant find out how to find cordinats, everyone has diff screen resultion ;o Help please! Thank you! Edit: Maybe a regedit code, to disable popup, and allow downloads? Edited September 2, 2009 by voidale Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 2, 2009 Share Posted September 2, 2009 Hey guys, I'm trying to go to a webpage, and click on the Download. this webpage --->http://bit.ly/zO7gD I know you can do ineget, I need a real mouse click! #include <IE.au3> $oIE = _IECreate() _IENavigate($oIE, "http://www.sw*eet*im.com") _IEImgClick ($oIE, "http://www.swe*et*im.com/landing2/images/but_download.gif") This makes a "To help protect your security" security popup. and you have to press on it and press download. yes you can turn it off by settings but I dont want to, I need some how to detect X, Y, and MouseClick but i cant find out how to find cordinats, everyone has diff screen resultion ;o Help please! Thank you! Edit: Maybe a regedit code, to disable popup, and allow downloads? Examine the pop-up with the AutoIt Window Info tool, AU3Info.exe. It may have popped another instance of IE, but most often the pop-up dialogs are just ordinary Windows dialog boxes that respond normally to ControlClick(), etc. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
voidale Posted September 2, 2009 Author Share Posted September 2, 2009 (edited) Examine the pop-up with the AutoIt Window Info tool, AU3Info.exe. It may have popped another instance of IE, but most often the pop-up dialogs are just ordinary Windows dialog boxes that respond normally to ControlClick(), etc. I just tried you cant no info with autoit window info tool, It's possible I know to find the cord of the download button and send mouseclick, I just dont know how to do it. this is the best solution for me.or use registry to allow downloads, but agian this another field I still dont know :/Please help Edited September 2, 2009 by voidale Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 2, 2009 Share Posted September 2, 2009 I just tried you cant no info with autoit window info tool, It's possible I know to find the cord of the download button and send mouseclick, I just dont know how to do it. this is the best solution for me.or use registry to allow downloads, but agian this another field I still dont know :/Please help Get the coordinates of the button relative to the window with AU3Info. That should be constant regardless of screen size or window position on the desktop. Use ControlClick() to hit the button.I'm curious; what was the window class of the popup? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
voidale Posted September 2, 2009 Author Share Posted September 2, 2009 (edited) Get the coordinates of the button relative to the window with AU3Info. That should be constant regardless of screen size or window position on the desktop. Use ControlClick() to hit the button.I'm curious; what was the window class of the popup? can you send mouseclick on invisible IE window? or only for active window? Looking for hidden window ;oso if there a way to over come this popup same thing just to allow downloads without this popup you can see at picture.? ] Edited September 2, 2009 by voidale Link to comment Share on other sites More sharing options...
voidale Posted September 2, 2009 Author Share Posted September 2, 2009 Update- I did regwrite to overcome this popup and start download, Now i know that inetget works silently can I download something I pressed and download box shows up silently too? Link to comment Share on other sites More sharing options...
voidale Posted September 2, 2009 Author Share Posted September 2, 2009 Another issue doesnt work when I do 0 = Browser Window is hidden 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