Saturday, April 13, 2013

Activating Pidgin messenger using vbscript

Activating Pidgin messenger everytime upon idle
Activating Pidgin messenger forever
Activating Pidgin messenger whenever system goes for idle state
Activating Pidgin messenger using vbscript

Save the below code as vbs file, say, pidgin.vbs

Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
Set oExec = WshShell.Exec("C:\Program Files\Pidgin\pidgin.exe")
' Change the pidgin installed location in your computer and according to your operating system
Do While oExec.Status = 0
WScript.Sleep 100
'WScript.Echo oExec.Status

Open Task Scheduler in Windows XP and select the above pidgin.vbs file to run for everytime or when your system goes idle or choose to run this vbs file for every 5 mins, so that your pidgin status can never be idle even if you go off for a coffee break :) ;) in your office.

No comments:

Post a Comment