iceberg Posted April 4, 2005 Share Posted April 4, 2005 http://www.autoitscript.com/forum/index.php?showtopic=10043Hi,with ref to the above discussion, can someone enlighten me as to how this is done? i mean...how do i include a icon file in the autoit compiled file?thanks. mouse not found....scroll any mouse to continue. Link to comment Share on other sites More sharing options...
buzz44 Posted April 4, 2005 Share Posted April 4, 2005 (edited) Right click on your .Au3 script and click "Compile with options..." I think you may need Scrite, if you don't have it, simply click Start > Programs > AutoIt v3 > Compile Script to exeEdit: Once you have done the above you are able to select an .Ico file (Icon File) to use as the icon for your script. Edited April 4, 2005 by burrup qq Link to comment Share on other sites More sharing options...
iceberg Posted April 4, 2005 Author Share Posted April 4, 2005 (edited) hi, thanks for the reply. but i m not referring to the file icon itself. u see, when u run the chatbitch program, a few files are "extracted" as shown in the attache. are those files downloaded from the web or "built-in" together with the exe file itself? if the latter, how can this be done? Edited April 4, 2005 by iceberg mouse not found....scroll any mouse to continue. Link to comment Share on other sites More sharing options...
buzz44 Posted April 4, 2005 Share Posted April 4, 2005 (edited) You can include a file in your script with the FileInstall Function. If the script it not compiled then the file specified will be copied to the input directory. Say I have this script FileInstall ( "C:\Test.txt", "C:\Program Files\Test.txt") If you compile this the file "test.txt" will be included in the compilation, so the text file will be contained inside the exe. When you run the script it will copy it to the location. To test this make a text file called test. Compile the above script, delete the text file, and then run the compiled script. For more information refer to the help file Its sort of like a Zip File, compressing all included files into one. Then when you run the exe the files are moved to there specified directorys. Edited April 4, 2005 by burrup qq Link to comment Share on other sites More sharing options...
iceberg Posted April 5, 2005 Author Share Posted April 5, 2005 now...that's what i m looking for! thank you so much burrup! mouse not found....scroll any mouse to continue. 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