我有以下代码,但不发送大括号。
sendkeys "a=$(script.sh)",true
但它作为 a=$script.sh 发送
大括号缺失。
Try this
SendKeys "a=${(}script.sh{)}", True
例如
Sub Sample()
Dim RetVal
RetVal = Shell("NOTEPAD.EXE ", 1)
AppActivate RetVal
SendKeys "a=${(}script.sh{)}", True
End Sub
OUTPUT
a=$(script.sh)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)