Login | |
|
 |
RE: Convert Winbatch script to vbs? - 11/4/2008 10:55:04 PM
|
|
 |
|
| |
TomRiddle
Posts: 191
Score: 4
Joined: 2/7/2008
Status: offline
|
Don't worry vbscript can't do it and Winbatch sux you have to pay for it. Besides I got hold of some c# books and knocked up a little command line utility that does it instead. I am still actively scripting but my aspirations are mastering c# and Powershell one day. But both seem to be a more massive jump than what vbscript ever was.
|
|
| |
|
|
|
 |
RE: Convert Winbatch script to vbs? - 11/4/2008 11:47:12 PM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
I don't remember seeing this back in August, but it can also be done via AutoIT, which is free. Found this on AutoIT's forums and is just a snippet from a much larger script ; If the system is locked then reset the timer checkLock() Func checkLock() $locked=DllCall("user32","Long","OpenInputDesktop") If $locked[0] = 0 Then $start = TimerInit() EndFunc
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: Convert Winbatch script to vbs? - 11/5/2008 10:56:14 AM
|
|
 |
|
| |
TomRiddle
Posts: 191
Score: 4
Joined: 2/7/2008
Status: offline
|
Thanks Mike, I will check out AutoIT
|
|
| |
|
|
|
|
|