Jump to content

Search the Community

Showing results for tags 'file filter'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Categories

  • New Features
  • Other

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 15 results

  1. Good morning. I've been scratching my head on this one and haven't found much on the forum, which leads me to believe I may be going about this wrong as it feels quite "simple." 🙂 Appreciative for any feedback or guidance. Use Case: I want to be able to open any folder (repo) one level below my "GitHub" folder in both Atom and Terminal. The number of folders (repos) within the "GitHub" folder changes wildly as I add and remove repos. I created a Workflow using a File Filter that limits the search to type "folder" within the "GitHub" folder. I can successfully pass the {query} result (in this case, the folder location) to both Atom and Terminal and get the desired results within each of those Actions. The Question: When using the File Filter, it is also providing me all of the sub-folders within each of the folders (repos) within the "GitHub" folder. The ideal scenario would be just to display those folders directly beneath the GitHub folder, similar to how if I open Alfred and start with "/" I can essentially navigate folders. I found some fairly old (4+ year) posts around using Script Filters to attempt and accomplish, but they were incomplete and/or didn't seem to offer workable solutions. Again, appreciative for any suggestions or guidance. The current iteration of my workflow sames me tremendous time and keystrokes and I can typically remember enough of the repo (folder) name to filter it down quickly, however, the older I get, the less I can reliably count on my memory. 🙂 Thanks in advance for any help!
  2. Hello, When using a File Filter or List Filter, sometimes we need the original query, not just the filename or list item output. Here's my example: Use File Filter to search in a folder and within PDF documents for a work order number. For example: wo 12345 A list of PDF's that contain that number are shown. Open PDF file in Preview. So far, everything works as expected. Then I would like to take the work order number, in this case 12345, and enter it into Preview's search field. But, I don't have access to the original query. It would be nice if Alfred would save the original query as an internal variable when using File Filter, similar to {query}. How about {original} or something. I have tried using a Keyword first, to grab the original query, but then I have to hit enter to see the results. This breaks backspacing to refine the search. Thanks. nikivi originally brought up the topic and I have a similar post in this thread:
  3. Is it possible to create a file filter that operates as if each word in a query has a wildcard in front of it? For example, let's say I have a file filter set up as follows: (1) Keyword is "pdf", (2) File Types set to PDFs, and (3) Search Scope set to ~/Documents/SmallFolder. Is it possible to change the file filter's Advanced settings so that the following Alfred search: pdf SearchTerm1 SearchTerm2 SearchTerm3 approximates the following input: pdf *SearchTerm1 *SearchTerm2 *SearchTerm3 In other words, when using a specific file filter, I'd like to avoid having to manually type a hyphen in front of each search term. I understand why you wouldn't want this to be the default behavior in Alfred, but I was hoping to create some file filters that work in this manner (on small folders, etc., so that they're not too system-intensive). @deanishe has a nice fuzzy folder search, which is robust enough to do a lot of the same things, but I was just wondering how to mimic the wildcard search described above. I've never quite understood how many of the options in the File Filter's Advanced tab work (beyond simply adding more Metadata Files that are not included by default), and I was hoping there was a way to change these settings to achieve what I've described above. Initially, I thought that (1) unchecking the "words" column, and (2) unchecking the "Anchor searches which are not word based" would have the same effect. However, I'm not receiving the same result as when I use wildcards. Thanks for any help you can lend!
  4. I make a file filter, set a scope and drag a .md file into the file type part of the basic setup. But it doesn't find any markdown files. However, if I change the extension to .markdown it works. It also works to change the extension to mdtxt or mdown Just to be sure, I added a different filetype .taskpaper to check that I didn't bungle something easy - and that showed up just fine. It gets the name "net.ia.markdown" in the File Types. I tried a cheeky adding of an object called "net.ia.md" to no avail. Now I could rename all my markdown files from .md to .markdown, but I don't want to.
  5. Hi, I am new to Alfred. I have a small question. I want to search inside documents of a certain file type. I have used the "in" prefix which seems to work, but it does not work along with file filter i created. For example, my filter is extension .gaml which is basically a text file with that extension to suit as a input to a particular open source software. While this file filter works, I am unable to use then use the "in" prefix to search inside this gaml files. could someone suggest how i can use both "in" and file filter? Thanks Sri
  6. 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.
  7. Is there a way to have File Filter search inside files? I am working on a notes search workflow for TaskPaper and FoldingText and i'd like to search inside certain file types in a particular folder. Is that possible?
  8. Hello, I use a workflow to view movies via Beamer. And recently, I have some troubles with the file filter and mkv files. I type the keyword (beam) and the First letters of a mkv movie and nothing appears ! No problems with avi or mov or mp4 files. I didn't get this problem before but I don't know if this Bug is due to the last Update of mavericks or Alfred ?! Some pictures to illustrate the problem : OSX 10.9.2 / Alfred v2.2 (243)
  9. 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
  10. I do a lot of WordPress development and so have a lot of folders called 'wp-content' in my Sites folder. I have file filter that searches only within Sites, then I type "wp-co" and all the wp-content folders are listed. I can see their paths under their names and scroll to the one I want. Not bad, but I'd like something even better. What I'm really after is a file filter that when I type 'wp-cxc' will show me all the wp-content folders with "xc" (such as "Sites/xchange/wp-content/ ) in the path name. Or 'wp-cap' for all wp-content folders that have "ap" in the path. The problem I'm having is that Alfred doesn't search in the path name, so if I activate my filter and type, for example 'wp-cxchange' Alfred won't return the "wp-content" folder in the parent directory that contains 'xchange'. So is there a way to do this with the basic Workflow building blocks or will I need a script? Thanks!
  11. I have a private workflow called 'Filters' with a bunch of different file filters, each scoped to one of my favorite folders. One filter that I would really like to add is a Trash filter; I just can't figure out how to tell Alfred to search my Trash I tried setting the Scope to ~/.Trash, and then I tried turning 'Show files marked as System File' on. Neither option provides any results. Am I missing something?
  12. Hi, I'm having trouble creating a workflow. Based on help found on macscripter.net, I wrote an AppleScript to change decimal and thousands separator within csv files. tell application "Finder" to set FileToEdit to selection as string set AccessToFile to open for access file FileToEdit with write permission set CSVContent to read file FileToEdit to switchText from t to r instead of s set d to text item delimiters set text item delimiters to s set t to t's text items set text item delimiters to r tell t to set t to item 1 & ({""} & rest) set text item delimiters to d t end switchText switchText from CSVContent to "." instead of "," set FirstStepText to result switchText from FirstStepText to "," instead of ";" set TextToWrite to result set eof of file FileToEdit to 0 write TextToWrite to AccessToFile close access AccessToFile The script works fine from the Finder selection. However, I would like to turn into an Alfred workflow, using a file filter. To do so, the file filter searches for csv files, and I changed the first line of the script to: set FileToEdit to POSIX file q ... or other variants, but nothing worked. Do you have any idea to fix it? Thanks!
  13. I just created this workflow to get video duration times from a video file that I can just paste into a document. Maybe someone else would like it as well. https://github.com/raguay/MyAlfred/blob/master/VideoTime.alfredworkflow?raw=true
  14. Hello sirs, it would be useful to have an ability to set the subtitle for file filter results. Now, the file filter result shows Subject and URL for each item. For some usage (emails, photos, music, ...) it would be useful to show creation date/size/kind/sender address (generally other kMD attributes) instead as a subtitle... I could do something similar using xml filter and parsing mdfind results, but the overhead will make it probably really slow. Regards, Jan
  15. I have created a workflow to assign a hotkey to a custom file filter searching but when I select any item, for example an app and then I press enter the app doesnt run. I dont know if it is a bug or I am doing something wrong but always I use my own custom searchs I need to press the left arrow and then press open action due to this problem.
×
×
  • Create New...