Sign in to follow this  
Followers 0
Guest Timo

Problems with SplashOff()

5 posts in this topic

Problems with SplashOff(), here my code:

SplashTextOn("Title", "Message goes here.", -1, -1, -1, -1, 4, "", 24)
  FileDelete ($quellverzeichnis_ok)
  $suche = FileFindFirstFile($quellverzeichnis_alles) 
  $i = -2
  While 1
    $datei = FileFindNextFile($suche) 
    If @error Then ExitLoop
    $i = $i + 1
    $filelist = $filelist & $datei & @LF
  Wend
  FileClose($suche)
  FileMove($quellverzeichnis_alles, $zielverzeichnis)
  SplashOff( )
  Sleep(3000)
  MsgBox(64,$title, $filelist & @LF & $i & " Datei(en) wurden verschoben."

SplashTextOn stays still on the desktop, the window closes only when the messagebox is closed. Is it a bug?

Bye,

Timo

Share this post


Link to post
Share on other sites



I'm using Windows2000 Pro.

The example in the help topic runs perfect.

It seems it has a problem with the following msgbox. Even a 'sleep()' doesn't help.

Hm...

Timo

Share this post


Link to post
Share on other sites

The same problem by 'ProgressOff()'.

The windows stays on desktop...

Timo

Share this post


Link to post
Share on other sites

Problems with SplashOff(), here my code:

SplashTextOn("Title", "Message goes here.", -1, -1, -1, -1, 4, "", 24)
  FileDelete ($quellverzeichnis_ok)
  $suche = FileFindFirstFile($quellverzeichnis_alles) 
  $i = -2
  While 1
    $datei = FileFindNextFile($suche) 
    If @error Then ExitLoop
    $i = $i + 1
    $filelist = $filelist & $datei & @LF
  Wend
  FileClose($suche)
  FileMove($quellverzeichnis_alles, $zielverzeichnis)
  SplashOff( )
  Sleep(3000)
  MsgBox(64,$title, $filelist & @LF & $i & " Datei(en) wurden verschoben."

SplashTextOn stays still on the desktop, the window closes only when the messagebox is closed. Is it a bug?

Bye,

Timo

You have a little space there ( ) instead of () try getting rid of that

Rick


Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

The space doesn't matter. AutoIt internally skips whitespace in a line like that. Even something as spaced as this works fine:

MsgBox ( 0 , "" , "Text" )

or this:

MsgBox       ( 0 , "" , "Text" )

(Those are tabs)

Edited by Valik

Share this post


Link to post
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
Sign in to follow this  
Followers 0