• 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
removing a resource fork?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

removing a resource fork?


  • Subject: removing a resource fork?
  • From: Hamish Graham <email@hidden>
  • Date: Fri, 25 Jun 2004 00:32:58 +0100

Is there a better way than this to remove a files resource fork?

-------
on zapResource(filePath)
set tmpPath to filePath & ".tmp"
do shell script "cp \"" & filePath & "\" \"" & tmpPath & "\"; mv \"" & tmpPath & "\" \"" & filePath & "\""
end zapResource
--------

Thanks
Hamish
_______________________________________________
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: removing a resource fork?
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Second-Time conversion
  • Next by Date: Re: removing a resource fork?
  • Previous by thread: Re: iSub Toggle
  • Next by thread: Re: removing a resource fork?
  • Index(es):
    • Date
    • Thread