Sign in to follow this  
Followers 0
Kickassjoe

Compiled script graphics on non AutoIt users computers

5 posts in this topic

#1 ·  Posted (edited)

O.K., so I recently wanted to show some friends some of the programs that I have made, but they don't need the source code, and all of the pictures that were in the original folder.

Is there a way to include them in the compiled script (not having to have a folder containing them, just having them in the compiled script)?

Edited by Kickassjoe

What goes around comes around... Payback's a bitch.

Share this post


Link to post
Share on other sites



O.K., so I recently wanted to show some friends some of the programs that I have made, but they don't need the source code, and all of the pictures that were in the original folder. Some of them are telling me that the pictures that are meant to be displayed aren't displaying.

Do all of the pictures have to be in the folder that they were in when the script was uncompiled? Or am I doing something wrong?

You have two options, give them the pictures, or re-compile the script but this time FileInstall() them

Share this post


Link to post
Share on other sites

you must use FileInstall() for each item. Then reference the 'installed' file in your script.


[u]Do more with pre-existing apps![/u]ANYGUIv2.8

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

can you give an example

like, if I wanted to include a file named bg.bmp (dir C: \game\data) into a compiled script named game.exe (dir C: \game), how would I do that? err... how would I use this file in the script???

I will be testing it out.

Edited by Kickassjoe

What goes around comes around... Payback's a bitch.

Share this post


Link to post
Share on other sites

Nvm, got it to work, after reading fileinstall() closer


What goes around comes around... Payback's a bitch.

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
Sign in to follow this  
Followers 0