Is there a way in Powershell to detect execute event keys\clicks used?

Copper Contributor
I have a powershell script it executes when it's .ps1 file opened in Powershell.exe by double clicking. When it is executed by using Ctrl + Return or Ctrl + Click.....or any other combination I want to detect that & use it in the code inside it. Idea is to give user a different results when he\she uses a particular combination of keys or click to execute it. Is there a straight forward code to detect it?
1 Reply
you can read event from event log