deanishe Posted November 14, 2016 Share Posted November 14, 2016 It'd be cool to have the option to search kMDItemContentTypeTree instead of kMDItemContentType in File Filters and File Actions. That way, it'd be possible to use UTIs like public.movie and public.audio instead of having to drag a dozen different files to the File Types box (VLC actually exports 20 filetypes that conform to public.movie). It also wouldn't matter if some application decides to redefine the UTI for .mkv or .opml files (again). It would also enable File Actions like "Tidy XML" to work on XML files that don't have the UTI public.xml but include it in their hierarchy, such as .opml, .xhtml, .opf etc. Link to comment Share on other sites More sharing options...
Andrew Posted November 14, 2016 Share Posted November 14, 2016 @deanishe you can actually already do this if you prefix the type with a + for example: +public.image ... will search the content type tree instead of the content type. This should be documented somewhere, I'll check tomorrow and add if it's not Cheers, Andrew deanishe 1 Link to comment Share on other sites More sharing options...
deanishe Posted November 14, 2016 Author Share Posted November 14, 2016 (edited) Ace. Works in File Filters, but not in File Actions, alas. You also can't directly edit the UTIs in the Types list in File Actions, either (have to edit info.plist). Any chance you could add the feature(s) to File Actions, too? ATM, I can find the files just great, but not pass them to the File Action… On a related note: Is there any way to prevent ⌥+⌫ from removing the last item from the File Buffer? I habitually use it to delete the query (to search for the next file to add to the buffer), so it's basically interfering with my use of the buffer (⌥+← removes the last item, anyway). Edited November 14, 2016 by deanishe Link to comment Share on other sites More sharing options...
Andrew Posted November 14, 2016 Share Posted November 14, 2016 Yeah you really should be able to use the + prefix in the File Action trigger too, I'll add a ticket to look into that. The only way to avoid that with the buffer is to switch the buffer to using shift alt in the prefs. I can see how that gets in the way though, I hadn't thought about deleting the word with alt backspace to search for the next file. I'll have a think about that. Link to comment Share on other sites More sharing options...
deanishe Posted November 15, 2016 Author Share Posted November 15, 2016 Thanks. That's much better. ⌥⌫ is muscle memory at this point. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now