denek14w Posted July 15, 2011 Share Posted July 15, 2011 Can someone help me to write script: autostart program who will show picture for 10 s always when the computer will run Link to comment Share on other sites More sharing options...
taietel Posted July 15, 2011 Share Posted July 15, 2011 Welcome to the forum, denek14w. First, read the first link in my signature, then use the help file (it's more than enough to make you started), then try to make the program. If it's not working, post the code and we will gladly help you! Regards, taietel Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
denek14w Posted July 15, 2011 Author Share Posted July 15, 2011 But i don't know anything, can u help me from 0? Link to comment Share on other sites More sharing options...
taietel Posted July 15, 2011 Share Posted July 15, 2011 If you don't know anything, don't you think it's time to learn though? I've started using AutoIt by reading the help file and the examples. Even now, it's a precious resource! Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
smartee Posted July 15, 2011 Share Posted July 15, 2011 hi denek14w,Welcome to the forums! The Wiki and help-file(press F1 from SciTE) are great starting points You may be interested in these functions, SplashImageOn(), Sleep(), SplashOff(). Search for them in the help-file and try hatching something together, if you get stuck, post back with your code.Good luck, -smartee Link to comment Share on other sites More sharing options...
GEOSoft Posted July 15, 2011 Share Posted July 15, 2011 Pay attention to what the others have said about help resources and follow that advice. After you create the script you will have to compile it. Then you need to create a shortcut to the compiled file and put that in the Start Menu>> Startup folder OR create an entry for the compiled file in the registry under the Run key. Here is something to get you started. Note that I wait for the Task Bar to be loaded before the splash screen starts to display. That's to allow for the potential of your script starting too soon. While NOT WinExists("[Class:Shell_TrayWnd]") Sleep(20) WEnd SplashImageOn("My Window", "C:\some\path\somefile.jpg") ;; See the help file for more parameters for the size/position and set the FULL path to your image in here. $iStart = TimerInit() While TimerDiff($iStart) <= 10000 Sleep(10) WEnd SplashOff() 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...
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