Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set blocklandPath to "/Applications/Blockland v19/" --set to your blockland folder path
- try
- delete blocklandPath & "cache.db"
- on error the error_message number the error_number
- beep 1
- if error_number = 1700 then
- display dialog ¬
- "Can't delete the SQLite database.
- Change blocklandPath to the path to your Blockland folder." with title "AppleScript Error " & error_number buttons {"Dismiss"} with icon 2 default button 1
- return
- else
- display dialog ¬
- "Can't delete the SQLite database.
- " & error_message with title "AppleScript Error " & error_number buttons {"Dismiss"} with icon 2 default button 1
- end if
- end try
- open blocklandPath & "Blockland.app"
Advertisement
Add Comment
Please, Sign In to add comment