-1

enter image description here

I need to enter Ctrl-Y here using PowerShell script, in order to automate this task. please let me know how this can be done.

Any suggestions are welcome.

1 Answer 1

1

try something like this:

[System.Windows.Forms.SendKeys]::SendWait('^y')
Sign up to request clarification or add additional context in comments.

2 Comments

Thank you for the suggestion, but it is a way to send shortcuts in C#, but I am looking something for powershell scripts
did you try it in PowerShell ^^ Windows is a funny thing when it comes to VB and C ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.