Problem with Image Search?

10/29/2010 04:08 razer951#1
Ive made a script that is looking pretty perfect but it refuses to go to the images. All pictures are taken correctly and I do run it as administrator. Ive looked over the script and I didn't see any errors. Please help.
11/03/2010 22:37 Snoweł#2
Make sure that you have included ImageSearch.au3 and ImageSearchDLL.dll in the script folder, if you have the modified ImageSearch you only need to include the .au3 file. I have attached the ImageSearch includes just in case you require them, you may PM Shockrashana if you want the modified ImageSearch.au3.
11/05/2010 02:45 razer951#3
Quote:
Originally Posted by Dark - Sora View Post
Make sure that you have included ImageSearch.au3 and ImageSearchDLL.dll in the script folder, if you have the modified ImageSearch you only need to include the .au3 file. I have attached the ImageSearch includes just in case you require them, you may PM Shockrashana if you want the modified ImageSearch.au3.
I implemented it into my script but it says that it cannot load the ImageSearch.au3

I think the problem may be im using ahk ad i cant load a au3 file in an ahk file
11/05/2010 22:47 Snoweł#4
Quote:
Originally Posted by razer951 View Post
I implemented it into my script but it says that it cannot load the ImageSearch.au3

I think the problem may be im using ahk ad i cant load a au3 file in an ahk file
You know that HackShield blocks AutoHotkey, if you would like I can convert your script to AutoIt.
11/06/2010 03:34 razer951#5
Quote:
Originally Posted by Dark - Sora View Post
You know that HackShield blocks AutoHotkey, if you would like I can convert your script to AutoIt.
Been running ahk forever HS sux lol never been detected

Translated it into autoit and theres only 1 problem i dont know how to add an "if then"
11/19/2010 02:35 Snoweł#6
Quote:
Originally Posted by razer951 View Post
Been running ahk forever HS sux lol never been detected

Translated it into autoit and theres only 1 problem i dont know how to add an "if then"
Code:
If $VariableName=999 Then
	Sleep(999999999999)
EndIf
The above code checks if the variable "VariableName" is equal to "999", if it is equal to "999" script execution will pause for 999999999999 Milliseconds.

You can also use the "Else" function so that if "$VariableName" is not equal to "999", script execution will follow a different path (Just inside of the "If" function, after using "EndIf" the script will follow it's normal path).

Code:
If $VariableName= 999 Then ;Determines whether the data in "$VariableName" is equivalent to "999", if it is then the code directly beneath this will be executed. If "$VariableName" is not equal to "999" then he code beneath "Else" wil be executed instead.
	Sleep (999999999999) ;Pauses script execution for 999999999999 milliseconds.
	[B]Else[/B] ;Executes the code beneath "Else", instead of the code below "Then" if $Variable name is not equivalent to "999".
	Sleep (999) ;This will cause your script to Wait for 999 milliseconds before the next line of code is executed.
EndIf ;Ends the "If" function and continues with script execution.
The script above will check if "$VariableName" is equal to "999", if it is script execution will pause for 999999999999 Milliseconds (Sleep (999999999999)) and then the "If" function will end. If "$VariableName" is not equal to "999" the script will pause for 999 milliseconds (Sleep (999)), after the brief delay, the "If" check will end (EndIf) and script execution will continue along the normal path.
11/20/2010 01:59 razer951#7
Quote:
Originally Posted by Dark - Sora View Post
Code:
if $VariableName=999 Then
	Sleep(999999999999)
EndIf
The above code checks if the variable "VariableName" is equal to "999", if it is equal to "999" script execution will pause for 999999999999 Milliseconds.
Thanks
11/20/2010 18:25 Snoweł#8
Quote:
Originally Posted by razer951 View Post
Thanks
You're welcome, if you ever need help with AutoIt just PM Me.
11/20/2010 23:43 razer951#9
Quote:
Originally Posted by Dark - Sora View Post
You're welcome, if you ever need help with AutoIt just PM Me.
Actually could you take a look at my synthesis script its posted here [Only registered and activated users can see links. Click Here To Register...]