Jump to content

Search the Community

Showing results for tags 'argument'.

  • 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

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 8 results

  1. Hello forum, What's the best practice for a workflow trigger (keyword or script filter) that uses an optional argument with a fallback value? Example 1 (I made this up): I want to more easily yell at people on the internet, so I have a workflow that turns text to caps. My clipboard is "foo". I call caps and expect my script to receive "foo". I call caps wasd and expect my script to receive "wasd". Example 2: Like example 1, but instead of the contents, I want to use hardcoded text. I call caps and expect my script to rece
  2. Currently, if I output the following: {"items": [ { "title": "Foo", "arg": "unicorn" } ]} I have to handle the `unicorn` arg in a connected output action in the workflow. It would be useful to be able to dynamically handle it without needing to create an output action. This can be useful for very dynamic results and creating reusable modules that create output with different actions. I propose adding a `script` property to the JSON format that when specified makes it not pass the output to any connected output action (like `valid: false`) and instead executes the `script` and
  3. Hi, I hope I make sense here. What I'm trying to do: Workflow that... - uses a keyword + argument - opens a URL - has a delay - runs applescript to do "cmd + f" so I can search the page - (what I haven't figured out) add a step that types out the original query So if I type keyword then "elephant" I eventually want those last workflow steps to do a "cmd + f" on the page then type "elephant". Is this possible?
  4. When using Keywords and Arguments to open specific URL's, it would be great to be able to specify another URL to be used incase of no argument, instead of the same url with a part missing. for example; url with Argument; https://www.google.com.au/?q={query} URL without argument automatically goes to a different URL; https://news.google.com.au
  5. Hi guys, I'm trying to create a simple alfred workflow (Keyword -> Run Script -> Post Notification) using ruby. If I run this scripts in the terminal, it runs just fine, but when I try to run them on Alfred, I get some errors: ruby start.rb {query} [ERROR: alfred.workflow.action.script] Code 1: -e:1:in `<main>': undefined local variable or method `start' for main:Object (NameError) I assumed that ruby wasn't in Alfred path so I tried /usr/bin/ruby start.rb {query} and got this error: [ERROR: alfred.workflow.action.script] Code 1: -e:1: unknown regexp option - b -e:1: syn
  6. I'd like to request the ability to have different types of arguments. you could have one type be 'iterator' which iterates through the argument data presented, processing each delimited entitiy as if the invoked action were called with just that string as the argument you could have another type be 'multi-var' which permits one to pass multiple independent strings to a workflow, which could be referenced as elements of an array, or enumerated strings, or whatever. this would be backwards compatible, since existing workflows would still be using the string typed handler, which wo
  7. 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
  8. Now you can set a custom text as the Hotkey (trigger) argument. This is useful when the workflow needs a custom user information e.g. the Dropbox ID for public links (it is different for each user). Here is my Dropbox workflow: http://www.alfredforum.com/topic/460-workflow-move-selected-finder-file-to-dropbox-url-to-clipboard/?p=2090 In order to make things easier for the user it would be great to have the same Hotkey text argument for the Keyword: instead the Hotkey the user may bring Alfred and type only the keyword (no argument necessary to be typed) and the workflow would start
×
×
  • Create New...