• 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: exists ... index 0 returns true
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exists ... index 0 returns true


  • Subject: Re: exists ... index 0 returns true
  • From: deivy petrescu <email@hidden>
  • Date: Mon, 5 Sep 2005 22:57:12 -0400


On Sep 5, 2005, at 22:03, Shane Stanley wrote:

On 6/9/05 11:52 AM, "Matt Neuburg" <email@hidden> wrote:


tell application "TextEdit"
    tell document 1
        exists word 0 -- true
    end tell
end tell

I regard this as a bug.


Interestingly, it returns false if the document contains no words.

--
Shane Stanley <email@hidden>


If it exists, did you ask doc 1 to return word 0 ?


deivy _______________________________________________ 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: exists ... index 0 returns true
      • From: Shane Stanley <email@hidden>
References: 
 >Re: exists ... index 0 returns true (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: exists ... index 0 returns true
  • Next by Date: Re: exists ... index 0 returns true
  • Previous by thread: Re: exists ... index 0 returns true
  • Next by thread: Re: exists ... index 0 returns true
  • Index(es):
    • Date
    • Thread