Jump to content

Search the Community

Showing results for tags 'action'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL




Found 18 results

  1. That’s my first ‘real’ workflow made to ease my everyday job workflow. Hope you will benefit from it too. What that file action does is to simply copy the name of selected folder(s) or file(s). Of course workflow works not only in Alfred File Viewer but everywhere you can select files using for example the Hotkey. → DOWNLOAD Changelog: 1.6: and again I have rewrote my workflow – now in Python it does finally support copying multiple file/folder names! 1.5: completely rewritten version now uses only bash script (4 lines of code) so it's faster allows for copying filename with its extension or without (in Run Script section delete "#" in text "#filename=${filename%.*}" this version does not support multiple file/folder names copying. If you need such option download version 1.1.1 (download link above) 1.1.1: allows for multiple file/folder names copying (only when used outside Alfred – in Finder, Forklift, etc.). Thanks for Carlos-Sz for modyfing this script! 1.1: when copying file names, file's extension is cut off 1.0: initial release
  2. Hello, I want to create a simple folder action: 1. I select a folder 2. cd that path 3. run a command I have problems with paths with spaces. This doesn't work: cd {query} ls Any ideas on how to get a right path when it has spaces. Thanks!
  3. After a short discussion in this thread (with @PopSquirrel) I decided to create a workflow that allows me to use custom actions (i.e. any workflow actions) on files and folders. The intention is to replace the settings that can be made under Advanced > Action Modifiers. I've included the full HOW TO USE below. Download TEMPLATE - File Search with Custom Actions from my GitHub Note: This workflow doesn't do anything "out of the box". It's a template that you can use to create your own customised actions. Examples of usage: Call a File Action workflow without go to the File Action menu. I use this with RenameAction (by @vitor) Use it with basically any workflow that takes a path as input. I use it this way with Open in Finder Tab (by @mix1009) Open a file with a specified app. I have Preview as default app for images, therefore I've added an Open File with Photoshop-action Get creative and comment below Screenshot from my configuration of the workflow: HOW TO USE This workflow allowes you to use custom actions (i.e. any workflow actions) on files and folders. The intention is to replace the settings that can be made under Advanced > Action Modifiers. This is a template workflow - you'll have to add your desired actions, modifers etcetera for the workflow to actually do anyting. Likewise you might want to change the keyword. Personally I use a the same as Alfreds default File Search, a single quote: ' The pink blocks gives you two different paths depedning on if you're actioning a file or folder. You might want to copy these to use with other modifiers as well.
  4. Hey, I suggested this feature back in v1 already, but thought of maybe suggesting it again, hoping it would be added to Alfred 2 sometime. From the file action menu there's no option to rename a file. I can't think it would be that hard to incorporate into Alfred in a nice fashion. This can be done in a workflow I believe, but it would be made in a really "ugly" fashion (like the color labeling workflow here, which re-invokes Alfred after the action is selected), and it's such a useful thing that I think it should be a part of Alfred itself. Please add this to Alfred. Thanks, Ben
  5. Can I turn off the function to copy the file name with shortcut of file search action? file search actionのショートカットで、ファイル名をコピーする機能をオフにできますか?
  6. Hello! I did search the forums here, but I didn't find what I was looking for. I apologize if this has been answered elsewhere. Please link me if that is the case. I'm looking to run a workflow, have it wait on a step for user input, and then resume once input has been received. More specifically - My workflow opens up terminal and ssh's to another computer. I need to enter a password. Once this step is complete THEN I would like the remainder of the workflow to run. Thank you in advance for any help that you can give on this. Cheers!
  7. 1Password integration is already awesome, but it would be even better if we could open the logins in 1Password instead of opening the Webpage. Like search with "1p my_login". Then have an alternative action to bring up 1Password mini with the same query. Maybe even extend searches for other items as well, like Favorites, Credit Cards etc. This script could be feeded with the query osascript -e 'open location "x-onepassword-helper://search/{query}"'
  8. I often find myself using the drag and drop feature of alfred, whereby I can drag an item from the list just like you can drag an file from the desktop. For example, this is how I attach email documents. This is pretty nice, but it would be really nice if I could do this with they keyboard. Is there a workflow for that? If not, does this seem like a feasible thing to do? Thanks for any help you can provide!
  9. I get incredibly paranoid pretty much every time I use these file actions. Partial reason for this request ...and my paranoia, is how copy and move silently fail if the file(s) already exists in the destination folder. So, I've developed a habit of always navigating to the destination folder to make sure the file(s) were copied or moved there. Which kind of makes these folder actions useless for me. I might as well just copy or cut and paste from finder folder to another and that would be more or less just as convenient, if not more convenient. Maybe there could be a osx notification that says: "File succesfully copied.", or something. I mean sure... When you move a file and it disappears, it probably ended up in the destination folder, but when you're copying, you won't be able to tell. You just have to assume or make sure it did. Of course you can't see the file disappear if you do it all in Alfred and you don't have the finder folder open. In addition to this, It would be great if Alfred handled copying and moving more like finder does, when it detects the file(s) already exist in destination folder. The way it gives you options: "Keep both", "Stop", "Replace".
  10. It would be great to see "javascript" in the list of languages for "Run script" under action and output in the workflows, so that we can have these executed with nodejs.
  11. Hi, Being so used to Quicksilver and then LaunchBar, I find pressing TAB much faster than RETURN to 'action'. <type> - <hit return> - <type> How can I change this to the tab key? Can't find it anywhere in the options! Thanks, Ross
  12. Proposed Feature: Provide a default argument that will be used in place of a query in the event that no query is provided. Rationale: In my particular use case, I have workflows that are mapped to urls, with the keywords representing unique customer identifiers within local/qa/production environments. For example: app.ourdomain.com/feature/{query}/some/path I'd like to have a single workflow that would populate the customerID field with a default value if no query is provided (the ID i'm working w/ 90% of the time), but that would still respect queries when they are used. Possible Implementation: Possibly something like: app.ourdomain.com/feature/{query|1234}/some/path
  13. So... I'm an electronic musician with a lot of MIDI apps and utilities, so I'm making a MIDI workflow to suit my ends. All is working, but as I want to support quite a number of actions, I'm having difficulty having the actions being displayed in order when I type in the workflow name. Being able to such would really speed things up for me. Unimaginatively enough, the workflow name and keyword is MIDI. When I type MIDI (any case), I want any of the 10-15 actions supported by that workflow to be listed in the order I have declared them in the workflow, in the drop down list beneath the keyword search bar. Obviously, as MIDI is such a common word in this area of things, I have tons of MIDI apps with MIDI in the title. As a result, Alfred lists a combination of these MIDI apps in and alongside the MIDI actions I've created in the MIDI workflow, which is confusing. Obviously, I could change the keyword to M or something, but thats too easy So- with file search for example, I can navigate to a folder and see a list of folders and files that are contained within any matches, or actions which can be performed upon a selection, if you check out the file search screen shot at http://support.alfredapp.com/features:file-search. I'm hoping for something similar in terms of UI exploration of actions available withiin a workflow. Is there any such thing as 'Action Navigation' in Alfred, such that if I type in the name of an workflow, that all of its actions are listed without any interruption from any matching application or file names? Hope that makes sense. Seems likes the kind of thing that Alfred would do, but just can't find any way of doing so. Let me know if you want any more info. Thanks!
  14. When I was using "Open Terminal here" action today, I found that this command is not executed with arguments quoted. For example, here I got a folder named "a&b", when I perform "Open Terminal Here", a error happened. Why? I am guessing that the terminal actually executes such a command, "cd a&b", so it is apparently that this command is split by the symbol "&". I hope you can fix this bug just by surrounding the target folder path with a pair of quotes like this: cd "a&b" instead of: cd a&b thanks~ by iSMart
  15. It would be helpful for people, just like me, accidentally send files to Trash. I know the "Move to" action does exist, but in all honesty, I am too lazy (Thanks to Alfred ). More seriously, "Move to" action would never be as fast as a "Put back" action could be.
  16. Hi, This workflow will convert selected image to base64 string and copy to clipboard in css friendly format(with 'data:image/{file extension};base64' prefix). Download | Github I will be happy to hear feedback and improvement suggestions.
  17. How it works: Drop it into a workflow and set the options: Prompt text - this appears in Alfred's main input window with the cursor flashing after it. It would have to be fairly short, something like, 'Are you sure?' Responses (optional). A list of values that the user can select from. These will appear in Alfred's search results. or A script that generates the responses using Alfred's results XML format. or Nothing at all, so the user can enter any value. The action returns the selected value in {prompt} And with your other hand, you could code up a nice conditional action to go with it ...
  18. 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...