• 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: path to selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path to selection


  • Subject: Re: path to selection
  • From: John Delacour <email@hidden>
  • Date: Thu, 6 Mar 2003 23:34:35 +0000
  • Mac-eudora-version: 6.0a9

At 10:00 pm +0000 6/3/03, Simon Brown wrote:

on 6/3/03 2:44, Philippe GRUCHET at email@hidden wrote:

if selection = 1 then alias result

What does this line mean? I thought I always got a list, even if it's only
got one item.

He means

tell app "Finder" to if (count (get selection)) is 1 then selection as string


JD
_______________________________________________
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.

References: 
 >Re: path to selection (From: Simon Brown <email@hidden>)

  • Prev by Date: printing and scripting
  • Next by Date: Re: Selection (was Re: Better Open Dictionary)
  • Previous by thread: Re: path to selection
  • Next by thread: Re: path to selection
  • Index(es):
    • Date
    • Thread