Jump to content

#include not working on win 10

Recommended Posts


i am using windows 10 and am new to autoit (got it 4 days ago) and am trying to get an image search to work but every time i try i get 


>Exit code: 1

any idea what going wrong?



Share this post

Link to post
Share on other sites

ImageSearch2015.au3 is not an included library within the AutoIt package and your code is also missing a closing angle bracket.

Edited by czardas

Share this post

Link to post
Share on other sites

But does it need to be? i guess as long as it is in the script dir it should work no? with the closing angle bracket of course.


Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples


Share this post

Link to post
Share on other sites

write include in this way

#include <ImageSearch2015.au3> 


#include 'ImageSearch2015.au3'

then put the  ImageSearch2015.au3 file in the same path with ur autoit script , it suppose to be ok

I have win 10 as well and everything is working fine with it

Edited by sandanet

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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.