我试图通过逗号分隔列表来获取automator applescript;并且这样做,粘贴值1,制表符,粘贴值2,制表符等...
但它似乎并不想粘贴到Google Chrome中的文本字段中。
Template.templateNotInDomYet.onRendered(function(){
Meteor.defer(function(){
$(//code);
});
});
答案 0 :(得分:1)
您的粘贴命令是在您的脚本上完成的,而不是在其他应用程序上完成的(在您的情况下为Chrome)。你必须告诉哪个进程应该接收击键。类似的东西:
tell application "System Events"
tell process "Chrome"
Set the clipboard to myItem
keystroke "v" using {command down}
keystroke tab
end tell
end tell