×
Login Register an account
Top Submissions Explore Upgoat Search Random Subverse Random Post Colorize! Site Rules Donate
9

Little Code if You Hate Teams Status

submitted by patchCodeUnsuccessful to programming 2.8 yearsJul 19, 2022 14:57:00 ago (+9/-0)     (programming)

$sh = New-Object -ComObject Wscript.shell
while($true)
{
$sh.sendkeys('{F15}')
Start-Sleep -Seconds 30
}
powershell script.


11 comments block


[ - ] AugustineOfHippo2 0 points 2.7 yearsAug 5, 2022 14:05:51 ago (+0/-0)

used this today.
worked like a charm ;-)

[ - ] GoldenAgeWhen 1 point 2.8 yearsJul 19, 2022 23:35:05 ago (+1/-0)

What is teams status?

[ - ] ReturnOfTheGoats 0 points 2.8 yearsJul 20, 2022 03:57:02 ago (+0/-0)

I think this is a script that constantly presses a key every 30 seconds so OP appears “online” to his boss.

[ - ] GoldenAgeWhen 0 points 2.8 yearsJul 20, 2022 07:15:35 ago (+0/-0)

Okay, so this is just to prevent "away" status? I guess that is handy for some.

[ - ] bonghits4jeebus 0 points 2.8 yearsJul 19, 2022 21:39:53 ago (+0/-0)

Wtf is F15?

[ - ] rectangle 0 points 2.8 yearsJul 19, 2022 23:16:55 ago (+0/-0)

F keys don't stop at 12. That's just how many your keyboard has room for.

[ - ] bonghits4jeebus 0 points 2.8 yearsJul 19, 2022 23:29:23 ago (+0/-0)

Fair enough. I don't think I've ever seen F13+. Old SPARC keyboards used to have some different keys like copy and paste.

[ - ] AugustineOfHippo2 2 points 2.8 yearsJul 19, 2022 15:28:29 ago (+2/-0)

Here is one keyboard shortcut that will make teams AWESOME

[ - ] v0atmage 6 points 2.8 yearsJul 19, 2022 15:27:09 ago (+6/-0)

powershell? ghey

[ - ] patchCodeUnsuccessful [op] 4 points 2.8 yearsJul 19, 2022 15:31:13 ago (+4/-0)

True, I hate my job. Everything m$, super locked down system.

[ - ] SecretHitler 3 points 2.8 yearsJul 19, 2022 15:00:44 ago (+3/-0)

Another little code

Right click ➡️ appear as offline