• 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: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 28 May 2006 20:50:49 -0500

On May 28, 2006, at 8:08 PM, Michelle Steiner wrote:

if selection is not {} or selection is not "" then

This is logically equivalent to

	if not (selection is {} and selection is "") then

The selection cannot be both a string and a list at the same time, so the value of the parenthesis is always false, hence there's always a beep.

_______________________________________________
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: 
 >(no subject) (From: Robert Poland <email@hidden>)
 >Re: (no subject) (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread