Re: Deleting last item of a List
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