E6ZXPURaT Posted February 15, 2016 Share Posted February 15, 2016 I want to see FileName.tex when I type FileName in the Alfred window. In Features > Default Results > Advanced, I have dropped a file with a .tex extension. Alfred still does not propose FileName.tex when I type FileName Link to comment
Vero Posted February 15, 2016 Share Posted February 15, 2016 I want to see FileName.tex when I type FileName in the Alfred window. In Features > Default Results > Advanced, I have dropped a file with a .tex extension. Alfred still does not propose FileName.tex when I type FileName If you press the spacebar before typing the name of your file, you'll be using Alfred's File Search and should see the files you're looking for in the results. This is a better way to search for files, without cluttering your default results. Alternatively, if you often need to search for .tex files, you could create a file filter. Here's how I've created one for folders: https://www.alfredapp.com/help/workflows/inputs/file-filter/ Let me know if you need any further help Cheers, Vero Link to comment
E6ZXPURaT Posted May 16, 2016 Author Share Posted May 16, 2016 (edited) Thanks! I started a new workflow. The workflow works for all the types I specified except for .tex files. When dragging a .tex file in the File Types window of this workflow, I obtain a new line "org.tug.tex TeX text file", but it does not seem to pick up any .tex files. I also tried to add the type .tex manually in the File Types Windows to no avail. It seems there is something wrong with .tex files in particular. Any idea? Edited May 16, 2016 by E6ZXPURaT Link to comment
E6ZXPURaT Posted May 16, 2016 Author Share Posted May 16, 2016 (edited) I got it. The correct uniform type identifier for a tex file is public.tex (this is given by the kMDItemContentTypeTree key when running the command "mdls file.tex"). It is *not* "org.tug.tex", which is returned by Alfred when dragging a .tex file in the File Types window. It seems like this error should be corrected. Edited May 17, 2016 by E6ZXPURaT 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