Valuater Posted June 29, 2005 Share Posted June 29, 2005 my program utilizes "FileInstall" and.. according to help.... When this function is used from a non-compiled script, a copy operation is performed instead (to allow for easy testing pre-compilation). but it also performs a copy operation in my exe...? How do you use "FileInstall for a pic and not create a copy of the pic? thx 8) Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted June 29, 2005 Share Posted June 29, 2005 FileInstall("pic.gif", @TempDir & "pic.gif") FileDelete("pic.gif") I didn't quite understand what you meant in your question, let me know if that's not it Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
Valuater Posted June 29, 2005 Author Share Posted June 29, 2005 FileInstall("pic.gif", @TempDir & "pic.gif")FileDelete("pic.gif")I didn't quite understand what you meant in your question, let me know if that's not it<{POST_SNAPBACK}>Sorry,How do you use "FileInstall"to create a pic needed within the exe program...but, not create a copy of the pic on another users computer?someone ran my program (exe) and it created a copy of the pic on their computerI think using *FileDelete("pic.gif")* will remove it from my exe program. the program can be closed from many locations, thus trying to delete the pics when the program closes is difficult.thx8) Link to comment Share on other sites More sharing options...
therks Posted June 30, 2005 Share Posted June 30, 2005 That's how FileInstall works. When compiled, the file is added to the .exe, and when the .exe is run, the file is extracted to the location specified by FileInstall, where you can use it. You can't access the file from within the .exe by itself, it has to be extracted. My AutoIt Stuff | My Github 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