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

Read resource forks wit applescript


  • Subject: Read resource forks wit applescript
  • From: Alexander Födisch <email@hidden>
  • Date: Wed, 23 Jun 2004 16:07:19 +0200

Hello List,

I'm new here and I have no idea of Applescripting.
Well, now I should do following: we have here at work a fileserver with samba and netatalk.
It works great. But on one problem we didn't found a solution:

The Macintosh stores the type of a file and the application which belong to the file in resource forks.
So our users never used an ending for their files. But now we want to read the files with Windows-Applications like Word or Excel.
Windows-systems need a file extension like ".doc" or ".xls" to assign the file an application.

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.

I saw in one file in the .AppleDouble-Folder "TEXTUNIX". Maybe we can say: when you find "TEXTUNIX" attach ".txt" or so.
Is it possible?

Thx.

Regards, Alex
_______________________________________________
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: "John C. Welch" <email@hidden>
    • Re: Read resource forks wit applescript
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: CD drive opener -- OS 9
  • Next by Date: Re: CD drive opener -- OS 9
  • Previous by thread: Quark XPress 6 OS X script problem when Quark 5.x is running - coercion handler?
  • Next by thread: Re: Read resource forks wit applescript
  • Index(es):
    • Date
    • Thread