• 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: whose name contains space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: whose name contains space


  • Subject: Re: whose name contains space
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 23 Jan 2001 14:15:27 -0500

on 1/23/01 9:33 AM, Emmanuel at email@hidden wrote:

> -------------------------
> tell application "Finder" to get first item whose name contains " "
> -------------------------
>
> while this does not:
>
> -------------------------
> tell application "Finder" to get first item whose name contains space

This works:

tell application "Finder" to get first item whose name contains (space as
string)

And this works:

tell application "Finder" to get first item whose name contains my space

Very peculiar.

-
Bill Cheeseman, Quechee, Vermont <mailto:email@hidden>

The AppleScript Sourcebook
<http://www.AppleScriptSourcebook.com/>
Vermont Recipes-A Cocoa Cookbook
<http://www.stepwise.com/Articles/VermontRecipes/>


  • Follow-Ups:
    • Re: whose name contains space
      • From: Emmanuel <email@hidden>
References: 
 >whose name contains space (From: Emmanuel <email@hidden>)

  • Prev by Date: View a Volumes directories before mounting
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: whose name contains space
  • Next by thread: Re: whose name contains space
  • Index(es):
    • Date
    • Thread