I unchecked the Show Extensions pref in Finder. But my Photoshop files all have their extensions, the aforementioned webloc files do too. TextEdit I add extensions, depending on whether it is a plain text file, rich text, or html, and when I do that the extensions are visible. Screenshots: some have no extension, some show .png, if I drag a jpeg out of web page, it has the jpg extension, and the photos that come out of Image Capture from my camera all come in with the jpeg extension. It is a mystery.
Webloc files are particularly strange: if you open one with TextEdit it is blank. If you drag one into Terminal it shows the actual URL, as it does if you drag it into Safari. If you look at the metadata you see a content type along these lines:
kMDItemContentType = "dyn.ah62d4rv4ge81s3pcrv10g"
If you remove the webloc extension it doesn't open in Safari, it becomes a blank sheet, but if you drop it in Terminal it still displays the URL, and still displays the URL in Safari, but metadat now shows a type of just "public data" and kind of Plain Text, although it is still blank when opened in TextEdit. HexEdit shows no data fork, just a resource fork.
I think I'm some sort of nut to have investigated this, but I got curious about webloc files and their strangeness awhile back.....
Francine
Francine
Schwieder