Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Script the Finder to empty codes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Script the Finder to empty codes
Authored by: kyngchaos on Aug 18, '04 04:03:13PM

(I'm a bit flakey when it comes to explaining things ^_^)

With the GUI tools (FileShaper, File Buddy, ...) it's easy - just delete the text from the TYPE text box, and the tool takes care of writing the null characters.

However, I found that with the CLI SetFile (robg added that one to the hint for me), you can't use an empty string, it looks like it really sets it to a zero length string not nulls (at least it caused FileShaper to crash when I tried to check it). So with SetFile you would have to build a null string somehow like with your AppleScript.

[ Reply to This | # ]