oracleyue Posted May 24, 2016 Share Posted May 24, 2016 (edited) Status: Solved. Refer to the 2nd floor for the solution. "File Filter" in workflow does NOT work for ".tex" file. For example, (the search scope has been set) I found out that all file extensions (.py, .c, .txt, .cpp, etc.) work properly EXCEPT ".tex". It could be a bug, please fix it. Many thanks! FYI, OS: OS X Yosemite 10.10.5 Alfred 3: v3.0 [652] Note that it's different from the case http://www.alfredforum.com/topic/8569-search-for-tex-file/, which fails to figure out the correct file extension "public.tex". FYI, searching all files work well, showing the .tex files, e.g. shown as below Edited May 26, 2016 by oracleyue Link to comment
Vero Posted May 25, 2016 Share Posted May 25, 2016 "File Filter" in workflow does NOT work for ".tex" file. You may benefit from expanding the content type used if you're having issues with this. Try performing an mdls on one of your .tex files (https://www.alfredapp.com/help/troubleshooting/indexing/mdls/) and take a look at the ContentTypeTree. Once you've had a look at this, if you'd like to use the ContentTypeTree rather than just the ContentType, add a + before the name (For example, by adding a + before public.jpeg, you extend the file type search to public.image, including more than just .jpg images.) Let me know how you get on Cheers, Vero oracleyue 1 Link to comment
oracleyue Posted May 26, 2016 Author Share Posted May 26, 2016 Yes, I have solved it! Many thanks! I run `mdls` before, while I don't know how to explicitly add the entry. Ah, just click "+" (I just overlooked it before). You may benefit from expanding the content type used if you're having issues with this. Try performing an mdls on one of your .tex files (https://www.alfredapp.com/help/troubleshooting/indexing/mdls/) and take a look at the ContentTypeTree. Once you've had a look at this, if you'd like to use the ContentTypeTree rather than just the ContentType, add a + before the name (For example, by adding a + before public.jpeg, you extend the file type search to public.image, including more than just .jpg images.) Let me know how you get on Cheers, Vero Link to comment
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