01-03-2023, 12:06 PM
Quote:Is there a more general way? I want to use this trigger in Word or PowerShell ISE ...No. OS does not have API to detect selection. The only way I know is to try to copy. But it would be insane to copy on every right-click.