Re: whose name contains space
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/>