zaky324 Posted January 20, 2012 Share Posted January 20, 2012 Don't understand how it works. Need a little support . Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 20, 2012 Moderators Share Posted January 20, 2012 Your question is so broad. Be specific. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
zaky324 Posted January 20, 2012 Author Share Posted January 20, 2012 hmm, basically i don't know how to get it to work/ Link to comment Share on other sites More sharing options...
water Posted January 20, 2012 Share Posted January 20, 2012 May be the help file helps? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki  Link to comment Share on other sites More sharing options...
water Posted January 20, 2012 Share Posted January 20, 2012 What have you coded so far? What's the return value of ControlClick? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki  Link to comment Share on other sites More sharing options...
zaky324 Posted January 20, 2012 Author Share Posted January 20, 2012 autoit window info doesnt work on browser button does it lol. Link to comment Share on other sites More sharing options...
water Posted January 20, 2012 Share Posted January 20, 2012 Please be as specific as possible! What Browser to you use (IE, FF, Chrome ..)? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki  Link to comment Share on other sites More sharing options...
zaky324 Posted January 20, 2012 Author Share Posted January 20, 2012 (edited) i have IE, FF, Chrome. I'll use any browser that is capable of working with the function ''ControlClick''. Unless there aren't any lol. Edited January 20, 2012 by zaky324 Link to comment Share on other sites More sharing options...
water Posted January 20, 2012 Share Posted January 20, 2012 I would suggest IE. Please hava a look at the builtin IE UDF. Functions _IEFormSubmit or _IEAction($o_object, "click") should do what you want. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki  Link to comment Share on other sites More sharing options...
zaky324 Posted January 21, 2012 Author Share Posted January 21, 2012 where do i find info on those functions? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 21, 2012 Share Posted January 21, 2012 where do i find info on those functions?In the helpfile under "IE Management". Or just write the function name in index/search .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
zaky324 Posted January 21, 2012 Author Share Posted January 21, 2012 (edited) whats $o_object and how you find it? Edited January 21, 2012 by zaky324 Link to comment Share on other sites More sharing options...
Rogue5099 Posted January 21, 2012 Share Posted January 21, 2012 (edited) View Google's source, find the object's name you want. Get object by name. Example: #include<IE.au3> $oIE = _IECreate("www.google.com") $oForm = _IEFormGetObjByName($oIE, "f") $oInput = _IEFormElementGetObjByName($oForm, "q") _IEFormElementSetValue($oInput, "http://www.autoitscript.com/autoit3/docs/functions/") Send("{ENTER}") Edited January 21, 2012 by rogue5099 My projects: Inventory / Mp3 Inventory, Computer Stats Link to comment Share on other sites More sharing options...
zaky324 Posted January 21, 2012 Author Share Posted January 21, 2012 (edited) i think ill stick with mouseclick, 1 more question. How do you set up a function that loops continuously until the set coordinates have the set pixel color? btw you guys are great help, im glad u guys are helping a complete noob like me. Edited January 21, 2012 by zaky324 Link to comment Share on other sites More sharing options...
Mikeman27294 Posted January 21, 2012 Share Posted January 21, 2012 (edited) Global $xCoordinate = x ;Replace with x coordinate Global $yCoordinate = y ;Replace with y coordinate Global $PixelColour = 000000 ;Replace with desired colour Global $Pixel Do $Pixel = PixelGetColor($xCoordinate, $YCoordinate) Until Hex($Pixel, 6) = $PixelColour Msgbox(0,"Colour Found", "The requested colour, "&$PixelColour&" was found at the coordinates of ("&$xCoordinate&","&$yCoordinate&").") I haven't tested that one but it should do it. Edited January 21, 2012 by Mikeman27294 Link to comment Share on other sites More sharing options...
zaky324 Posted January 22, 2012 Author Share Posted January 22, 2012 (edited) am i suppose to leave Global $Pixel blank? how does this ''Until Hex($Pixel, 6) = $PixelColour" decide when the coordinate has the set color? shouldnt there be some coordinates on that line too? and how do you find the top/left/bottom/right coords for pixelsearch? Edited January 22, 2012 by zaky324 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