• 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: "Shane Stanley" <email@hidden>
  • Date: Mon, 22 Nov 2004 16:23:13 +1100

On Mon, 22 Nov 2004 16:07:49 +1100, Malcolm Fitzgerald wrote:

>On 21/11/2004, at 9:03 PM, Shane Stanley wrote:
>
>> On Sun, 21 Nov 2004 01:00:13 -0800, Paul Berkowitz wrote:
>>
>>> Does anyone know where to use 'after' or 'back of'?
>>
>> tell application "InDesign CS"
>> 	tell document 1
>> 		make text frame at after text frame 1
>> 		make text frame at back of text frame 1
>> 		make text frame at in back of text frame 1
>> 	end tell
>> end tell
>
>at in back, at after :-( Is the 'at' required in these cases?

Yes -- the "at" in these cases is a parameter to the "make" command, and
it's going to get confused without it. This might be a better example:

tell application "InDesign CS"
	tell document 1
		text frame after text frame 1
		text frame in back of text frame 1
		-- text frame back of text frame 1
	end tell
end tell

Interestingly, the commented line won't compile.


--
Shane Stanley  <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:

This email sent to email@hidden

References: 
 >Re: Deleting last item of a List (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Deleting last item of a List
  • Next by Date: Executing javascript in Safari via AppleScript...
  • Previous by thread: Re: Deleting last item of a List
  • Next by thread: Re: Deleting last item of a List
  • Index(es):
    • Date
    • Thread