Jump to content

Recommended Posts

Posted

How can i get the height and width of a picture(s) so that I can pass it to SplashImageOn and have the size be dynamically changed?

For $i = 1 to $updates Step 1
    InetGet($arrIMG[$i], "c:\logo" & $i &".jpg")
    SplashImageOn("Splash Screen", "c:\logo" & $i &".jpg",200,300,-1,-1,1)
    Sleep(3000)
    SplashOff()
Next
Posted

http://www.autoitscript.com/fileman/users/Lazycat/files/image_get_size.zip

I can't seem to download the file. All the other udfs for lazycat I can download. Can I download this anywhere else? Thanks.

Posted

Try to download the "Images info reader", which I think you can use for your task.

http://www.autoitscript.com/fileman/users/Lazycat/files/image_get_info.zip

It's also newer than "Images size reader"...

Posted

Try to download the "Images info reader", which I think you can use for your task.

http://www.autoitscript.com/fileman/users/Lazycat/files/image_get_info.zip

It's also newer than "Images size reader"...

Excellent. One more question, is there any way to make a splash image linkable to a website (so when it popped up you could click and go wherever)? Or if not, is there anyway to do this in a GUI? Thanks.
Posted

Excellent. One more question, is there any way to make a splash image linkable to a website (so when it popped up you could click and go wherever)? Or if not, is there anyway to do this in a GUI? Thanks.

Any ideas? Yes/No.. maybe so?
Posted

Sure. Make a GUI with the picture in it. Then you make a timeout-system using TimerInit and

TimerDiff, and in the script's main-loop you check if GUIGetMsg equals the picture-control.

If it does you run the link.

If you haven't touched the GUI-part of AutoIt just check out some simple examples in the help-

file or here on the forum, and see what you end up with. If you have any problems with some

part just come back here in this topic and ask.. Good luck.

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