Jump to content

yuvi

Member
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    yuvi reacted to bcc2k in Better Mavericks Tag Search   
    Hi!
    With Alfred 2.1.1 the Tags, that were introduced in Mavericks, are now searchable. With this you are able to search for Tags and get all files that have the Tags set on them.
    The problem is that you always get all files as a result.
    It would be really nice if you could "append" the search Tags to your "normal" search in order to filter your search more precisely.
    E.g: "'foo" searches for all files that are named "foo".
    It would be great if you could have such a query: "'foo tags:privat" to find all files that are named "foo" and have are tagged as "privat".
    I think this would make the tagging feature much more useful, especially if you have many files tagged and not just only a few that can be listed in the Alfred results.
     
    Also the Tags feature should preview all available tags.
     
    Best regards,
    Andreas
  2. Like
    yuvi got a reaction from Jono in Add any prefix string to the names of the selected files [action workflow]   
    My file management scheme requires me to add prefixes to the names of files, which are then picked up by Hazel and handled in various ways. My applescript skills are admittedly crude, but here is my workflow (driven by a file action) to prompt the user for a prefix string and then add that string to the names of all the selected files. Right now, the default prefix in the dialog box is "archive-" but that's easily changed from within the simple applescript.

    The workflow is here: http://d.pr/f/bDxq

    But if you just want a peek at my weak applescripting chops, here you go:
     
    on alfred_script(q) set prefixValue to display dialog "Enter prefix string: " default answer "archive-" set AppleScript's text item delimiters to tab set fileList to every text item of q repeat with theFilename in fileList set theFile to POSIX file theFilename tell application "Finder" set fileAlias to theFile as alias set fileName to name of fileAlias set newFilename to (text returned of prefixValue & fileName) set name of file theFile to newFilename end tell end repeat end alfred_script Enjoy!
×
×
  • Create New...