Jump to content

Splashtexton and splashimageon


Recommended Posts

Hello

I want to compile Splashtexton and splashimageon but it's doesn't match :

i have Splashtexton or splashimageon but not the two :

CODE
If ProcessExists("winlogon.exe") Then

Opt("WinTitleMatchMode", 2) ; Match substring

$m1 = "my text"

$m2 = " my time process"

SplashTextOn("", $m1, 350, 300, -1, -1, 1, "", 9,500)

SplashImageOn("", @ScriptDir & "\query.gif", 30, 30, 500, 391, 1)

ProgressOn("", "",$TimeToWait & $m2, -1, -1,1)

EndIf

For $i = 1 to $TimeToWait

$j = $i * (100 / $TimeToWait)

If ProcessExists("winlogon.exe") = 0 then ExitLoop

sleep(1000)

ProgressSet( $j, $TimeToWait - $i & $m2)

Next

Thanks for your help

Link to comment
Share on other sites

Hello

I want to compile Splashtexton and splashimageon but it's doesn't match :

i have Splashtexton or splashimageon but not the two :

CODE
If ProcessExists("winlogon.exe") Then

Opt("WinTitleMatchMode", 2) ; Match substring

$m1 = "my text"

$m2 = " my time process"

SplashTextOn("", $m1, 350, 300, -1, -1, 1, "", 9,500)

SplashImageOn("", @ScriptDir & "\query.gif", 30, 30, 500, 391, 1)

ProgressOn("", "",$TimeToWait & $m2, -1, -1,1)

EndIf

For $i = 1 to $TimeToWait

$j = $i * (100 / $TimeToWait)

If ProcessExists("winlogon.exe") = 0 then ExitLoop

sleep(1000)

ProgressSet( $j, $TimeToWait - $i & $m2)

Next

Thanks for your help
I'm not sure I even understand you question. You want to have both the SplashTextOn and the SplashImageOn? If you use both as it is right now, the image will splash will be on top of the text window. Use one or the other or at different times. You will also need to use SplashOff() when you want it to go away or it will stay on indefinately.

Edit

I'm not sure where or how you want your splash window to work but use one and the SplashOff() when you want it to go away. Below is just an example. Not Tested but that is how you would control the SplashImageOn().

If ProcessExists("winlogon.exe") Then       
Opt("WinTitleMatchMode", 2) ; Match substring   
$m1 = "my text" 
$m2 = " my time process"    
SplashImageOn("", @ScriptDir & "\query.gif", 30, 30, 500, 391, 1)    
ProgressOn("", "",$TimeToWait & $m2, -1, -1,1)    
SplashOff() 
EndIf   
For $i = 1 to $TimeToWait       
$j = $i * (100 / $TimeToWait)       
If ProcessExists("winlogon.exe") = 0 then ExitLoop      
sleep(1000)     
ProgressSet( $j, $TimeToWait - $i & $m2)    
Next
Edited by EndFunc
EndFuncAutoIt is the shiznit. I love it.
Link to comment
Share on other sites

Sorry for my bad english

I want in my splash :

- The text

- the gif

- the progressbar

all in the same time to have a logo

$timetowait = 5



    If ProcessExists("winlogon.exe") Then      
$m1 = "my text" 
$m2 = " my time process"
ProgressOn("", "",$TimeToWait & $m2, -1, -1, 1)
SplashTextOn("", $m1, 350, 300, -1, -1, 1, "", 9,500)
SplashImageOn("", @ScriptDir & "\query.gif", 30, 30, 500, 391, 1)

EndIf   
For $i = 1 to $TimeToWait      
$j = $i * (100 / $TimeToWait)      
If ProcessExists("winlogon.exe") = 0 then ExitLoop   
sleep(1000)  
ProgressSet( $j, $TimeToWait - $i & $m2)   
Next
Link to comment
Share on other sites

Sorry for my bad english

I want in my splash :

- The text

- the gif

- the progressbar

all in the same time to have a logo

$timetowait = 5
    If ProcessExists("winlogon.exe") Then      
$m1 = "my text" 
$m2 = " my time process"
ProgressOn("", "",$TimeToWait & $m2, -1, -1, 1)
SplashTextOn("", $m1, 350, 300, -1, -1, 1, "", 9,500)
SplashImageOn("", @ScriptDir & "\query.gif", 30, 30, 500, 391, 1)

EndIf   
For $i = 1 to $TimeToWait      
$j = $i * (100 / $TimeToWait)      
If ProcessExists("winlogon.exe") = 0 then ExitLoop   
sleep(1000)  
ProgressSet( $j, $TimeToWait - $i & $m2)   
Next

oÝ÷ Ûú®¢×)è¶ÚòºÈ§¡")ìµæN­Â)e©Û(¶­Êj{¬yëÞ¯+ax2¢ìÔáȬë-jw±jjey»­"h ×h²¶§X¤zØb±«­¢+Ø¥¹±ÕÅÕ½ÐíU%
½¹ÍѹÑ̹ÔÌÅÕ½Ðì)U%
ÉÑ ÅÕ½ÐíAɽÉÍÌÅÕ½Ðì°ÔÀÀ°ÐÀÀ°´Ä°´Ä¤)U%
Ñɱ
ÉÑA¥¡MÉ¥ÁѥȵÀìÅÕ½ÐìÀäÈíÅÕÉä¹¥ÅÕ½Ðì°´Ä°´Ä°ÔÀÀ°ÈØܤ(ÀÌØíQ¥µQ½]¥ÐôÔ(ÀÌØí´ÈôÅÕ½ÐìµäÑ¥µÁɽÍÌÅÕ½Ðì(ìAI=IML(ÀÌØíAɽÉÍÌôÕ¥
Ñɱ
ÉÑAɽÉÍÌ ÄÈÀ°ÌÐÀ°ÄÔÀ°ÈÀ¤)Õ¥
ÑɱMÑÑ ´Ä°ØÀ¤)Õ¥
Ñɱ
ÉÑ1° ÅÕ½ÐíAɽÉÍÌèÅÕ½Ðì°ØÔ°ÌÐÀ¤)U%MÑMÑÑ ¤()]¡¥±Ä($ÀÌØí¹5ÍôU%Ñ5Í ¤(%M±Ð($%
ÍÀÌØí¹5ÍôÀÌØíU%}Y9Q}
1=M($$%U%±Ñ($%á¥Ð)¹M±Ð)]¹
EndFuncAutoIt is the shiznit. I love it.
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...