DirtDBaK Posted October 19, 2007 Share Posted October 19, 2007 I want to add animated gifs, Any way to do that? I really want a progress wheel... Idk if an ani gif is the best way.... But maybe you guys have an idea..... Thanks [center][/center] Link to comment Share on other sites More sharing options...
GaryFrost Posted October 19, 2007 Share Posted October 19, 2007 http://www.autoitscript.com/forum/index.ph...st&p=242515 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
jaebeard Posted March 11, 2009 Share Posted March 11, 2009 (edited) I found out a little different way of addign a Splash screen with a Animated gif using an HTA here is the HTA example expandcollapse popup<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <HTA:APPLICATION ID="Loader" APPLICATIONNAME="Loader" SCROLL="no" SINGLEINSTANCE="yes" SysMenu="no" > </head> <script language="VBScript"> Sub Window_onload strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor") For Each objItem in colItems intHorizontal = objItem.ScreenWidth intVertical = objItem.ScreenHeight Next intLeft = (intHorizontal - 500) / 2 intTop = (intVertical - 500) / 2 window.resizeTo 500,500 window.moveTo intLeft, intTop End Sub </script> <body style="text-align:center;font-family:Calibri; font-size:32px; padding-top:75px;"> Backup in progress... <br /> <img src="ajax-loader.gif" alt="Loading..." /> <br /> Please Wait </body> </html> I call the hta with the following function Run("mshta.exe \\path\loader.hta") Edited March 11, 2009 by jaebeard 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