Sami671 Posted January 2, 2017 Share Posted January 2, 2017 i have the au3 code: While 1 $pix = PixelSearch(0,0,1359,767,0xDB8825) if IsArray($pix) = True Then MouseMove($pix[0]+10,$pix[1]+60,0) EndIf WEnd when i convert it to C++: #include <windows.h> #include "AutoItX3_DLL.h" int main() { while(1) { $pix = Au3_PixelSearch(0,0,1359,767,0xDB8825) if (IsArray($pix)) = True { Au3_MouseMove($pix[0]+10,$pix[1]+60,0) } } } can some fix the code plz! and thanks. Link to comment Share on other sites More sharing options...
Developers Jos Posted January 2, 2017 Developers Share Posted January 2, 2017 Is IsArray () an CPP function? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Sami671 Posted January 2, 2017 Author Share Posted January 2, 2017 then tell me how to fix it !!!! Link to comment Share on other sites More sharing options...
caramen Posted January 2, 2017 Share Posted January 2, 2017 1 hour ago, Sami671 said: !!!! ????? < does not even give me the desire to help My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
Developers Jos Posted January 2, 2017 Developers Share Posted January 2, 2017 @caramen, please don't try to lecture somebody that isn't used to write English like you. It will only lead to more confusion. @Sami671, I assume you wanted to ask a question in stead of telling me to write the code for you? I think you first need to study some C++ coding and the Helpfile provided on how to use the DLL version of AutoIt3X. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
caramen Posted January 2, 2017 Share Posted January 2, 2017 Received My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki 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