Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 10:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



ImageSearch2015 Problem

Discussion on ImageSearch2015 Problem within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2008
Posts: 169
Received Thanks: 9
ImageSearch2015 Problem

Hello,
I try to script a bot that press buttons if a picture is shown.
The current problem is that the bot do nothing when i start it.


If I let the #include <ImageSearch2015.au3> out the debugger says that the function _ImageSearch is unknown, thats normal I know, but at least it says something.

Can anyone help me please?
datafabi is offline  
Old 03/12/2016, 23:16   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
You need the ImageSearch2015 UDF for that to work otherwise it won't.
alpines is offline  
Old 03/12/2016, 23:53   #3
 
elite*gold: 0
Join Date: Aug 2008
Posts: 169
Received Thanks: 9
I have all stuff from in the same dir where the script is and copyed the .dll into system32.
Do I have to do anything else?
datafabi is offline  
Old 03/13/2016, 00:03   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Leave the dll in the script folder otherwise you have to Regsvr32 it. You have to use " instead if <> in the include since your include is likely to be in your script dir.
alpines is offline  
Old 03/13/2016, 10:19   #5
 
elite*gold: 0
Join Date: Aug 2008
Posts: 169
Received Thanks: 9
I changed it to #include "ImageSearch2015.au3" but same problem
datafabi is offline  
Old 03/13/2016, 11:00   #6
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Where's the error if you leave the include in?
alpines is offline  
Old 03/13/2016, 14:05   #7
 
elite*gold: 0
Join Date: Aug 2008
Posts: 169
Received Thanks: 9
There is no error shown, actually is there no difference between "" and <>.
Quote:
>"F:\autoit\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "F:\autoit\AutoIt3\Neuer Ordner\aaaaa.au3"
>Exit code: 0 Time: 0.5067
Without doing anything else then pressing F5 to start the script
datafabi is offline  
Old 03/13/2016, 14:45   #8
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
That shouldn't be the case since you've build in a While-Loop to not end to the script. Try to run the script without SciTE and look how it behaves.
alpines is offline  
Old 03/15/2016, 10:03   #9
 
elite*gold: 0
Join Date: Aug 2008
Posts: 169
Received Thanks: 9
It does nothing. Thats strange
datafabi is offline  
Reply




All times are GMT +1. The time now is 10:11.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.