• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can someone please confirm this....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can someone please confirm this....


  • Subject: Can someone please confirm this....
  • From: Deivy Petrescu <email@hidden>
  • Date: Fri, 23 Mar 2018 10:40:01 -0400

tell application “Numbers” to return count of documents
———————-
tell application "Numbers"
        count every document of current application
                --> 0
end tell
Result:
0
——————-

tell application “Numbers" to return count of windows
———————-

tell application "Numbers"
        count every window of current application
                --> 0
end tell
Result:
0
——————-

tell application “Numbers" to return name of document 1
——————-

tell application "Numbers"
        get name of document 1
                --> error number -1719 from document 1
Result:
error "Numbers got an error: Can’t get document 1. Invalid index.” number -1719
from document 1



There is an opened document. It happens with 2 different computers.

AS 2.10,, HS 10.3.2 and 10.3.3


Thank you.

Deivy Petrescu
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can someone please confirm this....
      • From: Christopher Stone <email@hidden>
    • Re: Can someone please confirm this....
      • From: 2551phil <email@hidden>
  • Prev by Date: Re: Auto mount .dmg in High Sierra? Possible??
  • Next by Date: Re: Can someone please confirm this....
  • Previous by thread: Re: Auto mount .dmg in High Sierra? Possible??
  • Next by thread: Re: Can someone please confirm this....
  • Index(es):
    • Date
    • Thread