
Yosemite 10.10.1にアップグレードしてから、新しいデータベースを作成できなくなりました
set theOutputFolder to choose folder with prompt "Please select an output folder:"
tell application "Database Events"
make new database with properties {name:"Test", location:theOutputFolder}
end tell
アプリケーション「データベース イベント」のデータベース「テスト」の結果になるようですが、そうではありません。デスクトップ上にはないか、少なくとも表示されません。どなたか助けていただけませんか?
答え1
set theOutputFolder to choose folder with prompt "Please select an output folder:"
tell application "Database Events"
make new database with properties {name:"Test", location:theOutputFolder}
save database "Test"
end tell
新しいデータベースを保存するには、保存コマンドを追加します。保存すると Finder に表示されるようになります。