Re: Simple delete
Re: Simple delete
- Subject: Re: Simple delete
- From: "Gary (Lists)" <email@hidden>
- Date: Tue, 09 Mar 2004 14:08:15 -0500
Robert Poland wrote [3/9/04 1:32 PM]:
>
Hi,
>
>
This simple delete appears not so simple. What am I missing?
>
>
tell application "Tex-Edit Plus"
>
set x to "09-Mar-04"
>
if item 1 of x = "0" then
>
delete item 1 of x
>
end if
>
end tell
>
x --> "9-Mar-04"
x is not a list, so there is no 'item 1 of x'
--
Gary
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.