dakota Posted June 2, 2006 Posted June 2, 2006 is there a way to incoperate photos that are used in my script into the .exe when i compile them so that i dont have to send all the photos them selves when i send my compiled scripts to my freinds????
Moderators SmOke_N Posted June 2, 2006 Moderators Posted June 2, 2006 is there a way to incoperate photos that are used in my script into the .exe when i compile them so that i dont have to send all the photos them selves when i send my compiled scripts to my freinds????Take a look at FileInstall() in the help file. 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.
dakota Posted June 2, 2006 Author Posted June 2, 2006 That kinda does it is there a way to make it not extract this images is for my splashimage
Sublime Posted June 2, 2006 Posted June 2, 2006 (edited) Edit: Massive Type O_O No but you can just do what the MANUAL aka HELP tells you to do $destination = @TempDir & "\mySplash.bmp" FileInstall("C:\foo.bmp", $destination) ;source must be literal string SplashImageOn("Splash Screen", $destination) Sleep(3000) SplashOff() Edited June 2, 2006 by Sublime
Moderators SmOke_N Posted June 2, 2006 Moderators Posted June 2, 2006 That kinda does it is there a way to make it not extract this images is for my splashimageNo you must install the file somewhere, then call to it... however you can delete it right after you've used it if you wish. 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.
dakota Posted June 2, 2006 Author Posted June 2, 2006 so this should work but it does not do i need to declare the variable first?? FileInstall ( 'C:\test\splash.gif', $mypicuture ) SplashImageOn ( "Opening", "$mypicuture" ,400 , 250 , 500 , 500 ,1 ) Sleep(5000) SplashOff()
Moderators SmOke_N Posted June 2, 2006 Moderators Posted June 2, 2006 so this should work but it does not do i need to declare the variable first?? FileInstall ( 'C:\test\splash.gif', $mypicuture ) SplashImageOn ( "Opening", "$mypicuture" ,400 , 250 , 500 , 500 ,1 ) Sleep(5000) SplashOff()$mypicture = @TempDir & '\abc.gif' FileInstall ( 'C:\test\splash.gif', $mypicuture ) SplashImageOn ( "Opening", "$mypicuture" ,400 , 250 , 500 , 500 ,1 ) Sleep(5000) SplashOff() FileDelete($mypicture) 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.
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