Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted (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 by evilelf
  • Developers
Posted

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.
  :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...