• 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
Invisibles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invisibles


  • Subject: Invisibles
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 13 Oct 2009 13:16:10 -0500

I just ran this test script (as an application bundle) in Snow Leopard ...

set selfRef to (path to me)
tell application "Finder"
set locContainer to (container of selfRef) as alias
-- if exists item ".altarchive" of locContainer then -- THIS WORKS
if exists alias file ".altarchive" of locContainer then -- THIS FAILS
display dialog "Invisible file found."
else
display dialog "Can't find Invisible file."
end if
end tell

Notice that there are two versions. One works. One does not. If the Finder can "see" invisible files, then both should work.

Anyone know why there's a difference?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Invisibles
      • From: Luther Fuller <email@hidden>
  • Prev by Date: FolderActions Rosetta-dependant?
  • Next by Date: Problems with Acrobat...
  • Previous by thread: Re: Turning Off Auto-correcting In TextEdit
  • Next by thread: Re: Invisibles
  • Index(es):
    • Date
    • Thread