• 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: Nigel Garvey <email@hidden>
  • Date: Wed, 24 Jan 2001 01:24:10 +0000

Emmanuel wrote on Tue, 23 Jan 2001 15:33:45 +0100:

>Here (OS904AS143SE143) this works:
>
>-------------------------
>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
>-------------------------
> --> Impossible d'obtenir name whose it contains " ". Acchs non autorisi.
>(Can't get name whose it contains " ". Access not allowed.)
>
>Same with tab, but not with return.
>
>The bug is not Finder-specific: it's an AppleScript issue.
>
>Any comment (AS155 etc.) ?

It's the same with OS86AS137SE113. I thought it might be a reference
issue, but it seems to me a 'tell' one. This works:

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

This returns an empty list:

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

This caused the Finder to quit:

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

This crashed Script Editor:

tell application "Finder" to get first item whose name contains
(application "Script Editor")'s space

This doesn't work:

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

This does:

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

So does this:

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

Same with tab. Return doesn't actually *work*; it simply doesn't produce
a result.


  • Prev by Date: Re: "Next" in Repeat?
  • Next by Date: Re: Can't make string to list
  • Previous by thread: Re: whose name contains space
  • Next by thread: Re: whose name contains space
  • Index(es):
    • Date
    • Thread