Hyflex Posted August 10, 2014 Share Posted August 10, 2014 Hey Guys, I use Skype.au3, ImageSearch,au3 and ImageSearch.dll and a bunch of images in a few of my scripts and rather than having them as files in the same directory as my script can I have them inside the .exe? Obviously for the autoit files I can use #include <ImageSearch.au3> or for the location #include "[path]filename" but how can I do it for the images and the dll files? For example part of my imagesearch is the following: Local $ImageSearch = _ImageSearch(@ScriptDir & "/Resources/" & "LCP.png", 1, $XCoords, $YCoords, 5) I would like to turn that into something like: Local $ImageSearch = _ImageSearch(LCP, 1, $XCoords, $YCoords, 25) Which would be read from the .exes internal storage rather than a location on the computer (that doesn't mean a bit of code to just set all of the locations of the files at the start of the code turning them into variables... Any ideas? Link to comment Share on other sites More sharing options...
t1ck3ts Posted August 10, 2014 Share Posted August 10, 2014 You would want to look at Zedna's Resource UDF @ '?do=embed' frameborder='0' data-embedContent>> Everything can be done with his resource udf Else, you could use FileInstall() to install the .dll onto the host machine when you run the script. Link to comment Share on other sites More sharing options...
Hyflex Posted August 10, 2014 Author Share Posted August 10, 2014 You would want to look at Zedna's Resource UDF @ '?do=embed' frameborder='0' data-embedContent>> Everything can be done with his resource udf Else, you could use FileInstall() to install the .dll onto the host machine when you run the script. Looks way to complicated for me lol, I'll do it the FileInstall route Hopefully it'll work 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