Guest Timo Posted June 11, 2004 Posted June 11, 2004 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
Guest Timo Posted June 11, 2004 Posted June 11, 2004 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
Guest Timo Posted June 11, 2004 Posted June 11, 2004 The same problem by 'ProgressOff()'. The windows stays on desktop... Timo
tutor2000 Posted June 11, 2004 Posted June 11, 2004 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, TimoYou have a little space there ( ) instead of () try getting rid of that Rick
Valik Posted June 11, 2004 Posted June 11, 2004 (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 June 11, 2004 by Valik
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