Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
<# to start powershell script: PowerShell -ExecutionPolicy Bypass .\mouse_pos.ps1 #> function watch_mouse(){ [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") cls $oX = 0 while(1) { Start-Sleep -m 500 $mY = ([System.Windows.Forms.Cursor]::Position.Y )#Mouse Y $mX = ([System.Windows.Forms.Cursor]::Position.X )#Mouse X Write-Host $mX,$mY if(($oX -ne $mX) -and ($oX -ne 0)) { Write-Host "Mouse Moved on X!" break } $oX = $mX } } watch_mouse
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)