Sign in to follow this  
Followers 0
Excalibur

Embeding pictures and other things into the script?

8 posts in this topic

Is there any way to embed a picutre into a script so that it didnt have to be sitting in the directory or anything? For that matter, can one embed anything? I know theres the FileInstall, but i really dont want these things sitting in the directory anywhere, just looks messy. Any help would be great.


Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

Share this post


Link to post
Share on other sites



I use FileInstall() so when it's active, it installs, and then FileDelete() on exit.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

I use FileInstall() so when it's active, it installs, and then FileDelete() on exit.

same here...

and when i file install i use @tempDir & a usually 1 or 2 letter file name

that way if someone really wants to find the pic or whatever... they need to look

C:\Documents and settings\user name\local Settings\temp\1.pic

and that is hidden most of the time

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Aye, thats what i figured i would have to do. Thanks for the help. :-).


Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

Share this post


Link to post
Share on other sites

It would be nice to be able to FileInstall into allotted memory (RAM).

It would be nice to have some sort of way to actually embed the file and call it from memory. Lets say you're running the script from CD-ROM. You couldn't extract to the @ScriptDir. It would be nice to be able to embed into the exe and call the embedded file from the exe instead of the hard drive.

Share this post


Link to post
Share on other sites

Why not stick it in @TempDir? (Of course, you are allowed to clean up after yourself on exit)

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