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:04:36 -0500
Also a slight improvement to the script to avoid problems with spaces and such in names:
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 quoted form of the POSIX path of aFile
do shell script "cat < /dev/null > " & aFile & "/..namedfork/rsrc"
end tell
Steve _______________________________________________
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