From: Vijay Ramane Date: 2010-12-28T23:11:40+09:00 Subject: can ruby script detect 'pc lock', 'pc unlock' instances ? Hello i need urgent help How we can manage/detect instances like pc lock or pc unlock via ruby script e.g 1). If i start my pc then script will automatically start until i log-off. 2). If i lock my pc script will start counting time until i unlock pc. 3). then it will shows whole days lock-unlock time how will i manage this via only rubyscript ????????? -- Posted via http://www.ruby-forum.com/.