dantheman Posted August 17, 2006 Posted August 17, 2006 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
Helge Posted August 17, 2006 Posted August 17, 2006 Check out LazyCat's fileman http://www.autoitscript.com/fileman/users/Lazycat/udfs.html..
dantheman Posted August 17, 2006 Author Posted August 17, 2006 Check out LazyCat's fileman http://www.autoitscript.com/fileman/users/Lazycat/udfs.html..Thanks. I appreciate it.
dantheman Posted August 17, 2006 Author Posted August 17, 2006 http://www.autoitscript.com/fileman/users/Lazycat/files/image_get_size.zipI can't seem to download the file. All the other udfs for lazycat I can download. Can I download this anywhere else? Thanks.
Helge Posted August 17, 2006 Posted August 17, 2006 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.zipIt's also newer than "Images size reader"...
dantheman Posted August 17, 2006 Author Posted August 17, 2006 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.zipIt'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.
dantheman Posted August 17, 2006 Author Posted August 17, 2006 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?
Helge Posted August 17, 2006 Posted August 17, 2006 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.
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