Re: exists ... index 0 returns true
Re: exists ... index 0 returns true
- Subject: Re: exists ... index 0 returns true
- From: Andrea -XFox- Govoni <email@hidden>
- Date: Tue, 20 Dec 2005 15:02:07 +0100
Mark J. Reed ha scritto:
>> tell application "TextEdit"
>> tell document 1
>> exists word 0 -- true
>> end tell
>> end tell
>>
>> I regard this as a bug. m.
> Well, it appears to be fixed in Mac OS X 10.4.3.
> Regards,
> You and I must have different definitions of "fixed", then. :) The
> above script runs and returns true OMM, which is running 10.4.3. You
> can also freely substitute "document 0" for "document 1" - same results.
Yes, I made a mistake, it actually returns true, but if the document is
empty it returns false. This misled me.
I apologize.
--
Andrea "XFox" Govoni
AIM/iChat/ICQ: email@hidden
Yahoo! ID: xfox82
Skype Name: draykan
PGP
KeyID: 0x212E69C1
Fingerprint: FBE1 CA7D 34BE 4A53 9639 5C36 B7A0 605F 212E 69C1
_______________________________________________
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