• 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: Deleting last item of a List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting last item of a List


  • Subject: Re: Deleting last item of a List
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 21 Nov 2004 01:00:13 -0800

Title: Re: Deleting last item of a List
On 11/20/04 11:56 PM, "jj" <email@hidden> wrote:

More "references" here:

http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptLangGuide/AppleScript.102.html


That's it. It shows a separate 'back of' relative reference, which is not the same as the 'back' index reference. To ensure the latter before the word 'of', you have to put it in parenthesis; otherwise 'back of' - meaning the same as 'in back of' or 'after'  - is assumed by the compiler.  It looks like that syntax requires another item to be after or (in) 'back of'. It also looks like it must be one of those things like 'whose' that needs to be implemented by developers for application objects. I can't find a way to use it with AppleScript lists that doesn't error. It requires a 'className' as well as a 'reference'.

Does anyone know where to use 'after' or 'back of'? I just tried

tell application "Microsoft Entourage
    contact after (me contact)
end tell

and that crashed Entourage.

--
Paul Berkowitz
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Deleting last item of a List
      • From: "Shane Stanley" <email@hidden>
    • Re: Deleting last item of a List
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Deleting last item of a List
  • Next by Date: Re: Deleting last item of a List
  • Previous by thread: Re: Deleting last item of a List
  • Next by thread: Re: Deleting last item of a List
  • Index(es):
    • Date
    • Thread