Currently Being ModeratedApr 10, 2012 11:43 AM (in response to hotwheels 22)
Some settings for folders are on a per folder basis. Check the settings for one of the folders in which it displays a generic icon - open the folder, then press Command-J (or select Show View Options from the View menu). In the View Options screen, if the item "Show Icon Preview" is not checkmarked, checkmark it.
Currently Being ModeratedApr 10, 2012 1:32 PM (in response to hotwheels 22)
hotwheels 22 wrote:
I am finding that I /sometimes/ see the TEXT previews for these files and I sometimes don't see the previews for these files. When I don't see the previews I just see a blank page without the text.
When you say "TEXT previews", do you mean Quick Look?
If so, QL deals with files based on type code, file name extension, or UTI. If your .rvb files come from Win, then they have neither the former, nor the latter, and the name extension is not declared by any app, so QL doesn't know what to do with them. Here's what you can try:
(1) Set the default app to open these files to TextWrangler in the usual way. This might or might not work, I'm not sure.
(2) Use RCDefaultApp to associate .rvb files with TW. Again, this might or might not work, I'm not sure.
(3) Use the following AppleScript to create a droplet (save it in AppleScript Editor as an app).
(* We use "name contains" instead of "name extension is" because the latter doesn't seem to work reliably. *)
on open theFiles
tell application "Finder"
repeat with i in theFiles
if name of i contains ".rvb" then
set file type of i to "TEXT"
The type code "TEXT" will be assigned to any Finder item dropped on it which contains the string ".rvb" in its name. This should work.
(4) Edit TextWrangler's UTI type declaration to add .rvb. The issue is described here
(Scroll and look at the hint about Coda—it applies to your problem, mutatis mutandis.)
(5) Use extended attributes, as described in here
Methods (1) and (2) may or may not work, I'm not sure. But it's easy to try them out.
Methods (3), (4), and (5) will definitely work. But you may find (4) and (5) a little too complicated.
Currently Being ModeratedApr 10, 2012 2:33 PM (in response to Don Archibald)
Alas it looks like this setting is in fact checked (even though it may not have been for the previous folder these files were in?). Anyway, I assume if it is checked in the folder that they currently are in and half are showing up with Quick Look (and Icon Previews) and half are not that it is a totally different issue...
Regards and big thanks as always.
Currently Being ModeratedApr 10, 2012 2:36 PM (in response to fane_j)
I can tell that I am going to have to find some time when I have a brain cell or two available for this one. It is an odd one for me at least.
Can I ask you just now though if the screenshot I posted to Don changes anything here for you? I mean, I have files in here that are showing Quick Look (thanks) and Icon Preview and some that are not and both came originally from the same folder they were just moved around a bit in Finder AFAIK.
I mean - I sort of feel like I get this behaviour with Icon Preview and Quick Look for OTHER file types as well that are coming from Windows but I guess this is in part what your explanation is addressing if I re-read it closely and try some troubleshooting...?
Currently Being ModeratedApr 10, 2012 3:55 PM (in response to hotwheels 22)
hotwheels 22 wrote:
You're very welcome.
Can I ask you just now though if the screenshot I posted to Don changes anything here for you?
As we've discussed at least three times before, at present I don't have access to Dropbox. So I cannot see your screen shot.
If your issue is with Quick Look and text files, my previous post should cover it. Otherwise, I couldn't tell.
Currently Being ModeratedApr 10, 2012 7:28 PM (in response to fane_j)
This should just be a clickable link that pulls up a viewable image. It is just a publicly available image posting. Can you not see it?
Currently Being ModeratedApr 10, 2012 7:39 PM (in response to fane_j)
Many thanks for the reference to RCDefault App. I have been wanting to find something similar.
I tried 1 and 2 and it looks like I will have to try 3 and 4 tomorrow.
It seems really odd that the /same/ file type is in the /same/ folder and some have the rvb associated with a Icon and a QuickLook and some don't. Not sure if this is a clue but it sure is weird.
I've tried opening them and tried a restart but neither work.
Currently Being ModeratedApr 10, 2012 10:12 PM (in response to hotwheels 22)
Sometimes OS X (including Snow Leopard and Lion) does not display custom icons well.
SL uses its own method (perhaps accessing Preview's or QuickLook's capabilites) to display what appears to be a custom icon or thumbnail for a file, when in fact the file has none.
Something to try - do a Get Info on one of the icons showing a generic icon, click on the icon in the upper left of the Get Info screen to select it, then choose "Clear" from the Edit menu if that is available. Doing this will remove any custom icon from the file.
Currently Being ModeratedApr 11, 2012 7:36 AM (in response to Don Archibald)
Thank you. It sounds like these two issues may be related. I have noticed that SL is a little funky when it comes to showing Icons. Not sure if there is a way to fix this with something like RCDefaultApp but in any event the QuickLook is really more important to me at this moment.
Can I just ask you where to go for the CLEAR step you suggest (I tried right clicking on the image in the top left with no result). First image is for a non-quicklook/icon RVB file and the second is for a "has" quicklook/icon RVB file...
Currently Being ModeratedApr 11, 2012 7:41 AM (in response to Don Archibald)
Hi Don, fane_j.
This is really bizarre.
If I run a SaveAs with a different filename in TEXT WRANGLER (e.g. FileName_test) and it HAS a quicklook/icon but if I run a SaveAs (e.g. FileName) and overwrite the existing file name then it will not fix itself. If I do /either/ of these with TextEditor (navite mac app I assume) and neither methods fix the icon or the quicklook...
If I could just open them all and save them out with the same name this would be a reasonable stopgap fix but not by having to rename all of them...
Currently Being ModeratedApr 11, 2012 7:45 AM (in response to hotwheels 22)
if I open a file, hit spacebar and then hit delete it will /force/ a prompt to save which fixes this issue. however opening all these files is going to be a major pain.
sounds like there is no quick fix and I have to dive into fane_j's step 3 or 4 here I gather...?
Currently Being ModeratedApr 11, 2012 11:36 AM (in response to hotwheels 22)
Okay - I'm still a bit old school, I should have said "Cut".
Do a Get Info on the file - select it by clicking it once, then press Command-i
Then click the icon in the ipper left of the Get Info to select it; once selected, it should display a pale blue border -
Once the icon is selected, go to the Edit menu in the main menubar. If "Cut" is available, that means the file has a custom icon. Choose "Cut" to remove the custom icon.
Currently Being ModeratedApr 11, 2012 11:51 AM (in response to Don Archibald)
regrettably i only get a chance to copy this icon in both cases (either with an icon or with a blank page showing).
big mystery over here.
i've even taken a look at the syntax of the file names and nothing sticking out as irregular.
going to start moving them around and then i think i have to dive into the deep troubleshooting on this one...