Showing posts with label iCloud. Show all posts
Showing posts with label iCloud. Show all posts

Monday, March 21, 2016

AppleScript: Opening iCloud Documents (Numbers)

set the defaultDestinationFolder to (path to desktop folder)
set filePath to (path to library folder from user domain as text) & "Mobile Documents:com~apple~Numbers:Documents:test.numbers"

tell application "Numbers"
activate
    try
        open file filePath
    end try
end tell