• 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: 'path to cleanup at startup folder'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'path to cleanup at startup folder'


  • Subject: Re: 'path to cleanup at startup folder'
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 02 Feb 2002 17:47:35 -0800

On 2/2/02 5:25 PM, "Victor Yee" <email@hidden> wrote:

> list folder (path to "flnt")
> --> {"25570DS Process", "test"}

never mind what's in it. Where is it? In OS X:

get path to "flnt"
--> alias "OS X HD:private:tmp:501:Cleanup At Startup:"


That "501" thing is usually the container for the regular temporary items
folder in OS 9. In X:

path to temporary items
-->alias "OS X HD:private:tmp:501:Temporary Items:"

They're siblings in the same invisible folder.

Incidentally, the finder refers to invisible folders just as "items" , not
folders:



set temp to path to temporary items
--> alias "OS X HD:private:tmp:501:Temporary Items:"

set cleanup to path to "flnt"
--> alias "OS X HD:private:tmp:501:Cleanup At Startup:"


tell application "Finder" to set a501 to container of temp
--> item "501" of folder "tmp" of item "private" of startup disk of
application "Finder"

tell application "Finder" to set tmp to container of a501
--> folder "tmp" of item "private" of startup disk of application "Finder"

tell application "Finder" to set privy to container of tmp
--> item "private" of startup disk of application "Finder"


--
Paul Berkowitz


  • Follow-Ups:
    • Re: 'path to cleanup at startup folder'
      • From: Applescript User Lewis <email@hidden>
  • Prev by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Previous by thread: Re: 'path to cleanup at startup folder'
  • Next by thread: Re: 'path to cleanup at startup folder'
  • Index(es):
    • Date
    • Thread