erikson Posted March 27, 2007 Share Posted March 27, 2007 Hi codemasters is i put a picture in a gui ( GuiCtrlCreatePic ) it is possible to include the picture itsefl in the script? i meean if i use GuiCtrlCreatePic("c:\pic.jpg", 240, 140, 120, 90,) the pic will be seen only if you have that specific pic in c:\pic.jpg Link to comment Share on other sites More sharing options...
Generator Posted March 27, 2007 Share Posted March 27, 2007 Not sure but try file install? Link to comment Share on other sites More sharing options...
Atreju Posted March 28, 2007 Share Posted March 28, 2007 I'm also curious, but as far as I got it, it's not possible with AutoIt. Apart from a premade function the only way would be to write the picture in text format to a variable, but that you can't do. I'm rather lame with scripting though, any other opinions? Link to comment Share on other sites More sharing options...
Developers Jos Posted March 28, 2007 Developers Share Posted March 28, 2007 Fileinstall() the picture at startup to the @TempDir after which it can be used in the GUI... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
evilelf Posted March 28, 2007 Share Posted March 28, 2007 (edited) For you 2 add a pic this what i had to do. $Move = @DesktopDir & "\Spam\Image\Founders.GIF" $destination = @MyDocumentsDir & "\Founders.GIF" FileCopy( $Move, $destination) Sleep(5000) SplashImageOn("MadeBy;", $destination,179,95) Sleep(5000) SplashOff() This all i got. Cant Help much more. Edited March 28, 2007 by evilelf Link to comment Share on other sites More sharing options...
Valuater Posted March 28, 2007 Share Posted March 28, 2007 Maybe... $Logo_jpg = @TempDir & "\XPClean-logo.jpg" FileInstall("C:\XPClean-web\Settings\XPClean-pics\XPClean-Main-Pic-Jpg.jpg", $Logo_jpg) ;source must be literal string 8) Link to comment Share on other sites More sharing options...
Developers Jos Posted March 28, 2007 Developers Share Posted March 28, 2007 For you 2 add a pic this what i had to do. $Move = @DesktopDir & "\Spam\Image\Founders.GIF" $destination = @MyDocumentsDir & "\Founders.GIF" FileCopy( $Move, $destination) Sleep(5000) SplashImageOn("MadeBy;", $destination,179,95) Sleep(5000) SplashOff() This all i got. Cant Help much more. ...and how does this do what the OP asked ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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