• 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: Read resource forks wit applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read resource forks wit applescript


  • Subject: Re: Read resource forks wit applescript
  • From: "John C. Welch" <email@hidden>
  • Date: Wed, 23 Jun 2004 12:12:10 -0500

On 6/23/04 9:07 AM, "Alexander Fvdisch" <email@hidden> wrote:

> Now we had the idea to write an applescript which read out the resource
> fork for every file and attach the right windows ending on the file.
> Does someone has an idea? I don't know how an Mac stores the filetype.

Here's one I had worked on...and it's not in the resource fork, it's part of
the file metadata, and no, they are not the same thing.

<http://www.bynkii.com/applescript/scripts/osx_scripts/
MakeWindowsNamescarbon.sitx>

This was originally written for OS 9, so it also truncates to 31 chars, etc.
It's decently commented, and has quite a few file types in there already.

It was re-saved as a carbon applet, and I haven't touched it since. The
source is in the script, so use it as you need.

john

--
"By filing this PCR you have challenged the honor of my family. Prepare to
die!"

- 3rd most commonly uttered Klingon programmer phrase
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Read resource forks wit applescript
      • From: Bill Briggs <email@hidden>
References: 
 >Read resource forks wit applescript (From: Alexander Födisch <email@hidden>)

  • Prev by Date: Re: newbie question on calling handlers and scope
  • Next by Date: Re: Read resource forks wit applescript
  • Previous by thread: Re: Read resource forks wit applescript
  • Next by thread: Re: Read resource forks wit applescript
  • Index(es):
    • Date
    • Thread