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

Re: Invisible files


  • Subject: Re: Invisible files
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 15 Sep 2006 21:42:38 +0200

Since AppleScript may only work when you're running the installation manually, a solution that would work every time would be to notify the Finder about the creations of those files.

It is quite possible to write a command tool which could be invoked from the postflight script and which would do exactly that.

In the Files.h header of the CoreCarbon framework you should find some FSNot... APIs to do this.

On vendredi, septembre 15, 2006, at 09:02  PM, Sean Kelly wrote:

Hi Rick,

You might be able to do this with some AppleScript in your postflight. It looks like the Finder dictionary has an "update" command, which "Updates the display of the specified object(s) to match their on-disk representation". I don't know if this was available on Panther.

Sean Kelly

On Sep 15, 2006, at 11:26 AM, email@hidden wrote:

Hi folks,

In my installer I have some files that I am copying using the "cp" command in a script. This seems to work fine in Tiger, but in Panther (10.3.9) these files are invisible in the Finder. I can see them using "ls" in the Terminal app. They become visible after I relaunch the Finder, or restart the Mac.

Any ideas on why these files are invisible, and how to make the files visible right away?

_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Invisible files (From: Sean Kelly <email@hidden>)

  • Prev by Date: Re: Invisible files
  • Next by Date: system.files.fileExistsAtPath
  • Previous by thread: Re: Invisible files
  • Next by thread: system.files.fileExistsAtPath
  • Index(es):
    • Date
    • Thread