I reviewed the suggestion stated in the memo see post
viewtopic.php?p=107165#p107165:
"Deprecated AutoIt3 rel. 3.3.16.1 functions"
Code: Select all
\_x-launcher\x-launcher.au3 ;User Preferences\;Options --> decommented '$ShowSplash' (removed ';--')
\_x-launcher\x-launcher.au3 ;User Preferences\;Options --> decommented '$ShowTrayTip' (removed ';--')
This suggestion is wrong because the check on SplashScreen is performed 2 (twice) times (Global Preferences and User Preferences) (see at line 280 of x-launcher.au3). So I have commented ii again in User Preferences.
In conclusion if You use only one SplashScreen check, launcher is much faster.
(and I have arready updated my upload on MediaFire)
SpashScreen and why is not works on x-launcher 1.5.5 x64.
The reason for the failure is due to the fact that the SplashScreen function has been deprecated in AutoIt3 rel. 3.3.16.1 and it has now been replaced by 2 (two) new functions:
1. SplashImageOn --> shows images only (as x-splash.jpg)
2. SplashTextOn --> shows text only
(and You must use SplashOff for turns SplashImage or SplashText off).
SplashImageOn requires the x-launcher to look on disk for the image to display which is therefore no longer incorporated into the x-launcher itself (as in AutoIt3 rel. 3.2.12.1).
(this behavior was present in AutoIt2)
see Functions --> SplashImageOn
https://www.autoitscript.com/autoit3/do ... mageOn.htm --> example:
Local $sDestination = "..\GUI\mslogo.jpg"
this means that the x-splash.jpg file is really an external file, not incorporated into the launcher and which must be searched and showed for by the launcher itself when the portable program is started.
In conclusion it is necessary to completely rewrite the 'SplashScreen' routine (from line 453 of the x-launcher.au3 file) so that it searches for the 'x-splash.jpg' file on disk.
For example You can insert in Splashschreen routine this instruction:
'Local $sDestination = ".\Bin\$AppName$\x-splash.jpg" or, simply
;Local $sDestination = ".\x-splash.jpg"
and then call it back with
SplashImageOn("Splash Screen", $sDestination, 250, 50)
Sleep(3000)
SplashOff()
(this example was taken from the AutoIt3 site and is incorrect because the "Sleep(3000)" and "SplashOff" instructions must be inserted in another location of the file x-launcher.au3)
As soon as I have some time I will try to rewrite the new SplashScreen routine.