mac 键盘脚本
tell application "Safari" -- 或者 "Google Chrome" 或你使用的其他浏览器
activate
delay 5 -- 延时,确保浏览器完全激活并准备好接收输入
repeat 10000 times -- 你可以修改这个数字来控制输入“x”的次数
tell application "System Events"
keystroke "x"
end tell
delay 300
end repeat
end tell