Jump to content
Sign in to follow this  
Shaarad

Motion Detector

Recommended Posts

Shaarad

The motion detector is the program which secures your data when you are away form your PC leaving it ON for 5-10 minutes. Just start it, enter the password & activate it. Any movement or click of mouse & key press of keyboard in your absense will result in turning off your computer. When you return, deactivate the program by pressing Shift + . (the buttons you press to type the character > ) after deactivating it, you can continue your work. However there are some bugs : the program turns off the PC when i) The screen saver is activated. ii) any notification icon or notice is displayed automatically. The password for this program (by default is mypass. You can change it by editing it in the script.

I am new to this language and hence, please make this program better by editing it.

Thank you.

- Shaarad Dalvi.

Motion_Detector.au3


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
spudw2k

The motion detector is the program which secures your data when you are away form your PC leaving it ON for 5-10 minutes. Just start it, enter the password & activate it. Any movement or click of mouse & key press of keyboard in your absense will result in turning off your computer. When you return, deactivate the program by pressing Shift + . (the buttons you press to type the character > ) after deactivating it, you can continue your work. However there are some bugs : the program turns off the PC when i) The screen saver is activated. ii) any notification icon or notice is displayed automatically. The password for this program (by default is mypass. You can change it by editing it in the script.

I am new to this language and hence, please make this program better by editing it.

Thank you.

- Shaarad Dalvi.

Interesting. Any reason you don't simply lock the workstation instead?

Share this post


Link to post
Share on other sites
Shaarad

Interesting. Any reason you don't simply lock the workstation instead?

how to do it ?? please tell me so that I can improve myself

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
DaRam

Or hit the Windows Key and L (That wound be the key with the Windows Logo and the L Key)

how to do it ?? please tell me so that I can improve myself

Share this post


Link to post
Share on other sites
GEOSoft

Or hit the Windows Key and L (That wound be the key with the Windows Logo and the L Key)

I think that's what Jos was doing with his code, although I must admit that the character between {LWINDOWN} and {LWINUP} looks more like a 1 (0ne) than an l (L)

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!"

Share this post


Link to post
Share on other sites
Jos

I think that's what Jos was doing with his code, although I must admit that the character between {LWINDOWN} and {LWINUP} looks more like a 1 (0ne) than an l (L)

Its a lowercasde L :D

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
spudw2k
spudw2k

I don't see the shutdown command anywhere.

I think he's trying to accomplish this with the Send commands for LWinkey and then uuuuuuu.... which would only work if the welcome screen is enabled I

believe. There a systematic way in Autoit to do that. The func is called Shutdown() I believe ^_^

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  

×