Re: Removing resource fork via applescript?
Re: Removing resource fork via applescript?
- Subject: Re: Removing resource fork via applescript?
- From: Stephen Jonke <email@hidden>
- Date: Sun, 2 Jan 2005 00:01:33 -0500
Thanks - great info everybody!
Steve
On Jan 1, 2005, at 8:37 AM, Gnarlodious wrote:
tell application "Finder"
try
set aFile to the selection as alias
on error
display dialog "Select a file first"
error number -128
end try
set aFile to the POSIX path of aFile
do shell script "cat < /dev/null > " & aFile & "/..namedfork/rsrc"
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden