Sign in to follow this  
Followers 0
Piyush

is computer ready for work...?

8 posts in this topic

is there any way to know that computer is ready for work..i.e all the startup programs that load during startup have..been executed...

??


[font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font]

Share this post


Link to post
Share on other sites



Only thing that I have found is - harddrive light indicator turns off and mouse changing from hour glass to arrow

you might take a look at this function MouseGetCursor - it might be used in a startup script that runs and lets you know once the mouse has stopped waiting?


All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

Here's a STARTUP ORDER FOR WINDOWS NT4/2000/XP. Seems like programs in "Startup Folder" are started the last. I now just assume (test it yourself :x ) that a program (e.g. your AutoIt-Script) started as something like ZZZ.exe in the "Startup Folder" (AutoIt macro @StartupDir, maybe use this with FileCreateShortcut() to place just a shortcut ZZZ there) would be the very last program to autostart.

Share this post


Link to post
Share on other sites

I used to poll for 30 consecutive cpu usage % below 20% in 2 second intervals.

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

This thread is giving me an idea for a script to help my GF (although it may piss her off...

Her pc takes a bit to load, however, as soon as her taskbar shows up, she attempts to open IE to browse the web. This causes IE to stop responding and in the meantime, she has clicked IE a few more times. Needless to say, it ends up causing the pc to finish booting and "catch" up to all the events a lot longer than it should.

Using the ideas here, I could easily write a script to block input until it's done loading :x


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

@kafu...ur answer is perfect...thanks...

@kaotkbliss...i m happy that it helped u...


[font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font]

Share this post


Link to post
Share on other sites

I thought about it and I guess the best would be to combine my approach with LarryDalooza's one, as some programs might have a real long startup time. E.g. Lotus Notes has a hell of a long startup time, so even if it would be started from the StartUp Folder before our custom ZZZ.exe timer, it would not have finished loading by the time ZZZ.exe is called :x.

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