Jump to content

Need Help with "SplashImageOn" & "WinSetTrans"


Recommended Posts

This is what i came up with so far.

Now how do i make the Pic transperent from point ""0"" ? couse it shows up for a sec b4 it vanishes again ?

SplashImageOn("KJ's",@ScriptDir & "\" & "pic.jpg",320,240,-1,-1,1)
WinSetTrans("KJ's","",0)
for $i = 1 to 255
    WinSetTrans("KJ's","",$i)
    Sleep(10)
Next
for $i = 255 to 1 Step -1
    WinSetTrans("KJ's","",$i)
    Sleep(10)
Next
SplashOff()
Link to comment
Share on other sites

Maybe...

SplashImageOn("KJ's","C:\Temp\colorgui.jpg",320,240,1000,1000,1)
;SplashImageOn("KJ's",@ScriptDir & "\" & "pic.jpg",320,240,1000,1000,1)
WinSetTrans("KJ's","",0)
WinMove("KJ's","", (@DesktopWidth /2) - 320, (@DesktopHeight /2) - 240)
Sleep(200)


for $i = 1 to 255
    WinSetTrans("KJ's","",$i)
    Sleep(10)
Next
for $i = 255 to 1 Step -1
    WinSetTrans("KJ's","",$i)
    Sleep(10)
Next
SplashOff()

8)

NEWHeader1.png

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...