• 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
Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills]


  • Subject: Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills]
  • From: RJay Hansen <email@hidden>
  • Date: Mon, 28 Nov 2016 14:38:13 -0600

Ed, 

You definitely shouldn’t let the readability of these libraries keep you from using them. As Hamish points out, the libraries each have an SDEF so you can view how to use them via Show Dictionary. They have better usage examples than most AppleScript Dictionaries provide in my experience. 

I just got around to downloading them and installing them last week and have already found a use for one of them. Specifically the Lists library provides an easy way to delete items from a list. I never opened the library to see what was written in there. I just viewed its dictionary which told me:

To delete a range of items from the list, use the from item and/or to item parameters:

delete from list {1, 2, 3, 4, 5} from item 2 to item 4 → {1, 5}

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: what's in a standard library? [Re: Forward movement vs Tilting at windmills]
      • From: "Stockly, Ed" <email@hidden>
References: 
 >what's in a standard library? [Re: Forward movement vs Tilting at windmills] (From: has <email@hidden>)
 >Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills] (From: "Stockly, Ed" <email@hidden>)
 >Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills] (From: has <email@hidden>)

  • Prev by Date: Anybar, applescriptable
  • Next by Date: Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills]
  • Previous by thread: Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills]
  • Next by thread: Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills]
  • Index(es):
    • Date
    • Thread