Dejan Posted August 27, 2008 Share Posted August 27, 2008 can you tell me how can i use a animated GIF into my gui? i tried to use GuiCtrlCreateGraphic() and GuiCtrlCreatePic() but the Gif is not moving and animating.i got this:By default AutoIt doesn't support animated GIF's. Though somebody posted a UDF to play them in the 'Example Scripts' forum. Try a search=)what is the name of UDF to search for?anyone please provide more info about it. [font="Comic Sans MS"]In Barishon se dosti acchi nahin Faraz, Kaccha tera makan hai kucch to khayal Ker.[/font] Link to comment Share on other sites More sharing options...
monoceres Posted August 27, 2008 Share Posted August 27, 2008 Press search->advanced search Select to search only in example scripts Mark search titles only Search for GIF. The first result is an excellent example by smashly Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Pain Posted August 27, 2008 Share Posted August 27, 2008 http://www.autoitscript.com/forum/index.php?showtopic=77179 Link to comment Share on other sites More sharing options...
Dejan Posted August 27, 2008 Author Share Posted August 27, 2008 @ monocers thanks for your help bro... [font="Comic Sans MS"]In Barishon se dosti acchi nahin Faraz, Kaccha tera makan hai kucch to khayal Ker.[/font] Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 27, 2008 Share Posted August 27, 2008 You can also play it in an embedded IE control: #Include <IE.au3> $sGIF = "C:\Temp\GIFs\Your.gif" $hGui = GUICreate("Test", 400, 300) $oIE = _IECreateEmbedded() GUICtrlCreateObj($oIE, 10, 10, 380, 280) _IENavigate($oIE, $sGIF) GUISetState() Do Sleep(20) Until GUIGetMsg() = -3 Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Dejan Posted August 27, 2008 Author Share Posted August 27, 2008 yes thanks for it. it is easy then any other. thanks again. [font="Comic Sans MS"]In Barishon se dosti acchi nahin Faraz, Kaccha tera makan hai kucch to khayal Ker.[/font] 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