batfastad Posted September 9, 2007 Share Posted September 9, 2007 Hi everyoneI've been writing a script which will toggle the read-only attribute on a games-console emulator configuration file.I'm using a GUI I created with AutoIt Koda and that GUI contains an image.But when the script is compiled, the image in the GUI doesn't appear.When compiled, does the script just keep a path reference to the original image files?Is there a way to have the actual images embedded in the compiled script?I looked at the function FileInstall but that's not quite what I need.From the manual it appears FileInstall just lets you copy out the image file into a different location when the compiled script is run.Ideally I don't want to have to copy the image files out, display the GUI, then delete the image files once the script closes.I also looked at #include but that appears to just be for including other AutoIt scripts.Is this possible to do what I'm looking for with compiled scripts?ThanksBen Link to comment Share on other sites More sharing options...
Zedna Posted September 9, 2007 Share Posted September 9, 2007 FileInstall is for you: - it copies image file when you run uncompiled file- when compiling it embed your image file into your EXE- it copies image file from EXE to temporary file when you run compiled fileAlso look at my resources UDF - with this you can embed image into your EXE and use it without creating temporary files like FileInstall does Resources UDF ResourcesEx UDF AutoIt Forum Search 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