gigi1 Posted June 7, 2010 Share Posted June 7, 2010 How can i include some pictures (which i use in my GUI) in the .exe file? i've read of the FileInstall function, but then 1)does the picture stay in the .exe after compiling? 2)How can i find the temporary files directory for the computer the script is running? (beacuse i guess i need to put the picture somewhere if using FileInstall) thanks, and sorry for noobness Link to comment Share on other sites More sharing options...
rudi Posted June 7, 2010 Share Posted June 7, 2010 Hi. Have a look at _TempFile() Regards, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 7, 2010 Share Posted June 7, 2010 Hi and Welcome to the forums! does the picture stay in the .exe after compiling?Did you really check FileInstall() in the helpfile? It's all explained. To get the temp files dir you would use the macro @TempDir. Macros are used just like a variable, so a short example: MsgBox(0, "", @TempDir) Another option would be the Resources UDF, with the advantage that it doesn't need to extract anything, but it's tricky to use. You need to read through EVERYTHING in the first post, and try all the examples. Maybe read the rest of the thread to while you're at it. But since you're new to all this I recommend you start by trying out FileInstall(), and move to the resources udf when it's really needed. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
gigi1 Posted June 8, 2010 Author Share Posted June 8, 2010 thanks 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