Re:Microsoft 365 has employee surveillance and analytics bui...
by TurkishPoptart on Tuesday November 24, 2020 @01:51PM
(#25201596)
[ Parent
| on HN ]
Re:Microsoft 365 has employee surveillance and analytics bui...
by boogies on Tuesday November 24, 2020 @02:28PM
(#25202081)
oof, Powershell users have a very different definition of “one line” then I do. In bash I'd run
while true; do xdotool key Pause; sleep 240; done
Re:Microsoft 365 has employee surveillance and analytics bui...
by majkinetor on Tuesday November 24, 2020 @02:36PM
(#25202155)
while(1) { (New-Object -c "Wscript.Shell").SendKeys("{Pause}"); sleep -m 240 }
Note that you use xdotool which is external so you are cheating. On Winodws you can do better with AHK which is compared to xdotool like spaceship to bucycle.
Re:Microsoft 365 has employee surveillance and analytics bui...
by boogies on Tuesday November 24, 2020 @02:39PM
(#25202183)
That’s over 80 characters long.
Note that comparing AHK to xdotool is like comparing a Titanic-sized roll of Flex Tape to duct tape. I don’t use boats that have taken a lot of damage, so I don't need Titanic-sized Flex Tape.
Re:Microsoft 365 has employee surveillance and analytics bui...
by majkinetor on Tuesday November 24, 2020 @02:41PM
(#25202202)
Thats because you cheated. You also don't know how to count. This is 78 chars and few more can be removed.
Re:Microsoft 365 has employee surveillance and analytics bui...
by boogies on Tuesday November 24, 2020 @02:51PM
(#25202316)
I cheated? You edited your comment.
root:~ # xclip -o
while(1) { (New-Object -c "Wscript.Shell").SendKeys("{SCROLLLOCK}"); sleep -m 240 }root:~ # xclip -o | wc
0 9 87
root:~ # xclip -o | wc -c
87
Re:Microsoft 365 has employee surveillance and analytics bui...
by majkinetor on Tuesday November 24, 2020 @03:09PM
(#25202490)
Just replaced scrollock to pause to be identical as your case.
You need xWindows to count chars ? Noice :)
Re:Microsoft 365 has employee surveillance and analytics bui...
by boogies on Tuesday November 24, 2020 @03:21PM
(#25202591)
> Just replaced scrollock to pause to be identical as your case.
I noticed.
> You need xWindows to count chars ? Noice :)
Tell me, oh Windows master, your superior spaceship ways of counting characters.