Jump to content
Sign in to follow this  
Zithen

add file to compiled

Recommended Posts

Zithen

I dont know if it is posible to add a picture file to a compiled au3, so that way when u run the script it will extract that pic if it is not found on the pc in a location? only other way i can think of doing it is putting the pic on the web and having the script download it.

Share this post


Link to post
Share on other sites
MSLx Fanboy

I believe someone did that once before with Resource hacker...I believe it was just @ScriptFullPath & ' %1' or something like that...i'll search in a minute

Linkage

Edited by MSLx Fanboy

Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
AutoChris

I dont know if it is posible to add a picture file to a compiled au3, so that way when u run the script it will extract that pic if it is not found on the pc in a location? only other way i can think of doing it is putting the pic on the web and having the script download it.

I think what you are looking for is already a function in AutoIt. The link above is for adding a pic to your script without the pic being extracted. However, you specifically state that you want your pic extracted to the PC. Check out FileInstall--this is probably what you are looking for.

Share this post


Link to post
Share on other sites
Valuater

I think what you are looking for is already a function in AutoIt. The link above is for adding a pic to your script without the pic being extracted. However, you specifically state that you want your pic extracted to the PC. Check out FileInstall--this is probably what you are looking for.

the post by MSLx Fanboy is for Icons only ... not pics

and as i understand... Fileinstall does leave the pics on the computer

if it doesn't need to .... i would like to know how

8)


NEWHeader1.png

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  

×

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.