geekhack

geekhack Community => Input Devices => Topic started by: robertsig on Wed, 24 September 2014, 14:01:43

Title: How to show I'm online by pressing keys?
Post by: robertsig on Wed, 24 September 2014, 14:01:43
I'm looking for a mechanical or USB device that mimics the classic Dippy Bird, but that doesn't need water.  I want something to press a key on my keyboard periodically to reset the timer on my Instant Messenger apps.
http://en.wikipedia.org/wiki/Drinking_bird (http://en.wikipedia.org/wiki/Drinking_bird)

Anything like that out there?
Title: Re: How to show I'm online by pressing keys?
Post by: Signature on Wed, 24 September 2014, 15:00:56
I'm looking for a mechanical or USB device that mimics the classic Dippy Bird, but that doesn't need water.  I want something to press a key on my keyboard periodically to reset the timer on my Instant Messenger apps.
http://en.wikipedia.org/wiki/Drinking_bird (http://en.wikipedia.org/wiki/Drinking_bird)

Anything like that out there?
Title: .
Post by: esoomenona on Wed, 24 September 2014, 15:04:18
.
Title: Re: How to show I'm online by pressing keys?
Post by: Fr4nc3sc0NL on Wed, 24 September 2014, 15:19:09
type in notepad:

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wshShell.sendkeys "{SPACE}"
wscript.sleep [insert delay time in milliseconds]
loop

and save it as "type_spacebar.vbs" (without quotation)
If you want another key being pressed, or space doesn't work you can use this list http://social.technet.microsoft.com/wiki/contents/articles/5169.vbscript-sendkeys-method.aspx
for a normal letter like W just type "W" instead of "{SPACE}"
to disable this script either turn off you computer or kill the "wscript.exe" process in task manager
Title: Re: How to show I'm online by pressing keys?
Post by: JPG on Wed, 24 September 2014, 15:24:34
type in notepad:

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wshShell.sendkeys "{SPACE}"
wscript.sleep [insert delay time in milliseconds]
loop

to disable this script either turn off you computer or kill the "wscript.exe" process in task manager


I recommend using a variation of keys to make sure the game does not detect that you only click the same key.


So many make 4-5 variation of the above?


And the you could call them by using the task scheduler of windows. Keep the job disabled when you don't need it and start it when you need it (make sure the schedules make full use of the different versions of the macros.


Never tried it myself, but I think it should work.
Title: .
Post by: esoomenona on Wed, 24 September 2014, 15:31:04
.
Title: Re: How to show I'm online by pressing keys?
Post by: robertsig on Wed, 24 September 2014, 15:33:40
Cool.  I'll try the VBS script.

Edit: Getting an error in line 3.
Title: Re: How to show I'm online by pressing keys?
Post by: caseyandgina on Wed, 01 October 2014, 22:18:14
Wtf? Disable idle time reporting and auto-away in your IM client and be done. While you're at it disable sending typing notifications too. And if you can't, get a better IM client.
Title: Re: How to show I'm online by pressing keys?
Post by: robertsig on Wed, 01 October 2014, 22:33:25
Corporate client.  Lync.
Title: .
Post by: esoomenona on Thu, 02 October 2014, 08:52:21
.
Title: Re: How to show I'm online by pressing keys?
Post by: inanis on Thu, 02 October 2014, 09:18:01
I have a guy a work with that wanted to work from home. His boss insisted (and rightly so) that he must be available just like he would normally be in the office. He agreed, then went to work from home. His IM client would give him away buy constantly being set to "away", which by default would happen after about 10 minutes. So, he is told you no longer get to work from home, you are always showing as away, you don't respond to things in time. After some time passes he convinced his boss to let him have another go. This time he lengthened the amount of time it takes the IM client to show as away, only he still doesn't respond to things in time, because he isn't really at his computer.

He now is not allowed to work from home, and is on the **** list.