Jump to content

Search the Community

Showing results for tags 'action'.

  • 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
    • Workflow Advanced Tips & Tricks
    • Workflow Automation Tasks
  • Alfred 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




  1. 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
  2. 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
  3. To be honest, I don't understand how I can use universal action in scriptfilter. I read below documents several times, https://www.alfredapp.com/help/workflows/inputs/script-filter/json/ https://www.alfredapp.com/help/features/universal-actions/ and I understand universal action is how powerful feature. but unfortunately, I don't get how can I use universal action in scriptfilter. I added 'action' to my script, nothing changed. By any chance, Is there a workflow example developed with 'action'? I'd appreciate it if anyone could help me understand this.
  4. - macOS Catalina 10.15.3 (19D76) - Alfred 4.0.8 [1135] - iTerm2 Build 3.1.5 It has been a while that "Open Terminal Here" stops working. If I remember right it was after I upgrade to Catalina. The file action "Open Terminal Here" now just opens a terminal tab (as default), not cd to the folder specified.
  5. Hi, "System" doesn't work for me. All actions are active. But nothing is coming up. Any hints? Thanks...
  6. 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
  7. 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!
  8. 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.
  9. Can I turn off the function to copy the file name with shortcut of file search action? file search actionのショートカットで、ファイル名をコピーする機能をオフにできますか?
  10. 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!
  11. 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}"'
  12. 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!
  13. 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".
  14. 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.
  15. 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
  16. 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
  17. 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!
  18. 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.
  19. Hi guys, I created a simple workflow to rename multiple files using an Automator script – here to download. I would like to extend this workflow by passing an Alfred argument to the Automator action which I use to rename the objects. Any idea how I can do this? Thanks in advance! Regards, Isger
  20. Workflow: two 'Browse in Alfred' Actions connected to an Input or Trigger Download Running the above workflow will crash Alfred. Tested with 'Keyword' and 'Hotkey' objects. Alfred v2.0.3 (186) on OS X 10.8.3. Replicated: yes
  21. Hi, a simple one, but nevertheless quite useful for me: a contact action to associate phone numbers with VoIP URLs. It's on GitHub. You have to associate the contact action yourself in the Alfred Preferences as shown below: There is also a keyword call (If I see that people are using it, I might consider to add a script action which filters phone numbers): It works very nicely with Telephone.app and X-Lite (for the latter, you have to change the URL to sip:{query}). Telephone.app sometimes doesn't react properly, but that's usually only when it's not running when the URL is being called. Have fun!
  22. 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.
  23. In Alfred 1 you could bring up the actions panel by typing "action" into Alfred. Is this possible with Alfred 2? Am I missing something?
  24. 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 ...
  25. 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...