power shell : how to send middle mouse click?

Question:

How can i send middle mouse click with power shell scripts?
I want something like this:

Answer:


You can add this function to your profile, or other script, and then you can call it with:

Click-MouseButton “middle”

Source:

power shell : how to send middle mouse click? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply