Jump to content
Sign in to follow this  
Sami671

i need Help with this code

Recommended Posts

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.

 

Share this post


Link to post
Share on other sites
1 hour ago, Sami671 said:

 !!!!

????? < does not even give me the desire to help

 


My video tutorials : HERE ( 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 - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

@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.
  :)

Share this post


Link to post
Share on other sites
Received

My video tutorials : HERE ( 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 - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...