如何以编程方式调用窗口+按钮
问题描述:
我想使用sendkeys.send()方法来调用窗口按钮。我尝试过sendkeys.send(" {WIN}")和sendkeys.send(" {Lwin}")。但是没有工作..
你能帮我吗
I want to cal window button using sendkeys.send() method. I have tried with sendkeys.send("{WIN}") and sendkeys.send("{Lwin}"). but not working..
Can you help me
答
" How to cal" ??
你是什么意思cal ?
您是否尝试以编程方式按Windows键?
我没有看到,因为Windows密钥是MSDN上SendKeys方法的一部分。
>
您是否正在尝试为锁定工作站发送Win + L?
"How to cal" ??
What do you mean by "cal" ?
Are you trying to press the Windows key programmatically?
I don''t see as the Windows key is part of the SendKeys methods on the MSDN.
Are you trying to send Win+L for lockworkstation?
展开 | 选择 | Wrap | 行号
我创建了客户端 - 服务器应用程序。在那里,如果我按下服务器端的Windows键,应该在客户端以编程方式触发。我想知道如何使用send-key方法在客户端调用该按键。
I created client-server application. In that, if I press windows key in server side that should be triggered programmatically at the client end. I want to know how to invoke that key press at client end using send-key methods.
你无法处理windows密钥。
You can''t handle windows key.