0
运行,为什么不从终端我AppleScript的运行,我可以成功地从编辑的AppleScript不从终端
我运行命令来运行它
/usr/bin/osascript -e my_script.scpt
我得到错误
0:12 :语法错误:未知令牌不能跟随此标识符。 (-2740)
我的脚本
set volume 2
set x to 0
open location "spotify:user:wunspe:playlist:meininki"
tell application "Spotify"
set the sound volume to 0
play
repeat 10 times
if sound volume is less than 70 then
set sound volume to (sound volume + 10)
set x to (x + 9)
set volume output volume x without output muted --100%
delay 3
end if
end repeat
end tell
谢谢你现在的作品。 – wpj