我做了一個蘋果腳本來卸載卷時我並不需要它,然後當我點擊應用程序再次將其安裝盤...檢查是否存在的AppleScript
林在Automator中創建它並且代碼看起來是這樣的:
if disk "UNIVERSAL" exists then
do shell script "diskutil unmount /volumes/UNIVERSAL"
else
do shell script "diskutil mount /volumes/UNIVERSAL"
end if
我得到的disk "UNIVERSAL" exists
錯誤請幫助...
感謝 本
而且它是一個問題嗎? – beryllium 2012-03-05 07:22:24