• 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
What the heck is an AppleScript vector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What the heck is an AppleScript vector?


  • Subject: What the heck is an AppleScript vector?
  • From: Rob Lewis <email@hidden>
  • Date: Wed, 2 Aug 2017 08:38:50 -0700

Poking around in Evernote's scripting dictionary, I tried this:

        set my_note to item 1 of (get selection) --select a single note
        set tag_list to tags of my_note --returns list of note's tags: {tag
"tagName" of application "Evernote", etc.}
        set tag_list to tag_list & tag "abo" --can't make into type vector

The last line produces this error message:
"Can’t make «class EVtg» \"abo\" of application \"Evernote\" into type vector."
number -1700 from «class EVtg» "abo" to vector

vector? Can't find anything online about AppleScript vectors. What's going on
here? tag_list seems to be a plain vanilla list.

The tag "abo" is defined and is used for several other notes.

OS is 10.11.6

 _______________________________________________
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

  • Prev by Date: Re: Position of an element in a list
  • Next by Date: Re: What the heck is an AppleScript vector?
  • Previous by thread: Re: Position of an element in a list
  • Next by thread: Re: What the heck is an AppleScript vector?
  • Index(es):
    • Date
    • Thread