ShadowOps Posted June 4, 2010 Share Posted June 4, 2010 I haven't used Autoit for about 2 years now, and I can't remember a thing... Anyway, I have a bunch of processes and programs that start up when I start my computer. They all take about 40 seconds to load once windows boots up. I was wondering if I would be able to make a "splash screen" that would cover the whole screen, like a screen saver, and display a ''loading...'' image for 40 seconds, then disappear. This way it looks more clean when I start my computer up. It would also be nice if some text could be "read" verbally too at the start of the load. Any help would be great! Thanks for helping this forgetful person! -Shadow Ops P.S. I would like the picture to be located directly in the C:\ drive, and the voice say "Welcome %username%", "%username%" being a replaceable parameter, which will get replaced by the user's name. Link to comment Share on other sites More sharing options...
Yoriz Posted June 4, 2010 Share Posted June 4, 2010 Take a look at 'SplashTextOn' or 'SplashImageOn' in the helpfile. GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
ShadowOps Posted June 4, 2010 Author Share Posted June 4, 2010 Take a look at 'SplashTextOn' or 'SplashImageOn' in the helpfile. OK, I got a splash screen working, but how can I make it full screen? Is there a variable for the x and y screen resolution? $destination ="C:\pic.bmp" SplashImageOn("Splash Screen", $destination, -1, -1, -1, -1, 1) Sleep(3000) SplashOff() And is there a variable for the system folder? Link to comment Share on other sites More sharing options...
Yoriz Posted June 4, 2010 Share Posted June 4, 2010 (edited) Its right there in the helpfile where you copied that script from SplashImageOn ( "title", "file" [, width [, height [, x pos [, y pos [, opt]]]]] ) And is there a variable for the system folder?Look at 'Macro Reference' in the helpfile. Here is a pm im sure ShadowOps meant to put on here as a question so others could benefit from the answer. I have my own custom make "Voice/Talk" function, and I was wondering how I could use Macros/Variables in the function text. For example: talk("Hello @username") All it says is "Hello AT username", and it doesn't replace it with my actual username... So how do you use macros in custom functions? Thanks!talk("Hello" & @username) Edited June 4, 2010 by Yoriz GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
GEOSoft Posted June 4, 2010 Share Posted June 4, 2010 Frustration with people not reading the help file must be affecting you and I can see that happening in the case of this poster. talk("Hello " & @username) Prediction: @ShadowOps continues to ignore the help file and suddenly finds that there is no help available on the forums. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
ShadowOps Posted June 5, 2010 Author Share Posted June 5, 2010 Sorry for all the trouble guys, I'll make sure to read the help first! Link to comment Share on other sites More sharing options...
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