animated gif or video splash screen?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
sinbad
Posts: 40
Joined: 01 Mar 2018, 09:32

animated gif or video splash screen?

07 Jul 2019, 12:28

Has anyone played with animated gifs recently? I'd like to make a simple splash screen for my app.
Are animated gifs still a problem for windows? And if so would it be easier to embed a video?

Thanks!
User avatar
boiler
Posts: 17387
Joined: 21 Dec 2014, 02:44

Re: animated gif or video splash screen?

07 Jul 2019, 14:12

You should check out this thread if you haven't already.
sinbad
Posts: 40
Joined: 01 Mar 2018, 09:32

Re: animated gif or video splash screen?

07 Jul 2019, 15:17

I did read that, and I tried the scrip given but it only produced a blank square. I thought I'd ask again in case someone else has it working.
User avatar
boiler
Posts: 17387
Joined: 21 Dec 2014, 02:44

Re: animated gif or video splash screen?

07 Jul 2019, 15:28

Just tried the one I posted again, and it worked fine for me. Did you try that one?
RickC
Posts: 302
Joined: 27 Oct 2013, 08:32

Re: animated gif or video splash screen?

07 Jul 2019, 20:02

Download was-not-me.gif shown below:

Image

... or use your own.

Code: Select all

  var = %A_ScriptDir%\was-not-me.gif ;location of gif you want to show
  Gui, 3:-border -Caption ; borderless
  Gui, 3: Add, ActiveX, x0 y0 w200 h200 vWB, shell explorer ; set width (w) and height (h) values to the image size
  wb.Navigate("about:blank")
  html := "<html><body style='background-color: transparent' style='overflow:hidden' leftmargin='0' topmargin='0' rightmargin='0' bottommargin='0'><img src='" var "' border=0 padding=0></body></html>"
  wb.document.write(html)
  ;Gui, 3: Color, white ; stop display of black border or...
  Gui, 3: Margin, 0, 0 ; remove border altogether
  Gui, 3: show, AutoSize Center
  WinSet, Transcolor, 000111, transparent
  return
Result is animated GIF playing in borderless control.

Hope this helps...

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 262 guests