-
Posts
132 -
Joined
-
Last visited
-
Days Won
4
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by MuppetGate
-
-
Yup, this would be very handy.
-
-
I think this is similar what David Ferguson did for his quick rename workflow which I took over and enhanced a bit (which contains the part you may need).
Look at the code of this to get an idea how to accomplish this chaining parameters and actions: http://www.alfredforum.com/topic/1779-rename-file-action/
Thanks very much. That's just what I'm looking for. :-)
-
Guys,
I assure you that we are fully aware of the desire for more flexibility when it comes to chaining items together. However, everything can't make it into a single release. The reality of it is, releases will never happen if you keep adding until you cover every potential use case and feature requested. Andrew has many plans in mind to continue to expand the functionality of workflows in Alfred. So sit back and relax. This is only the beginning.
That's good to hear. And thanks for those examples. Great stuff. :-)
-
Another vote for this one.
-
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 ...
-
Deja vu.
The fixes it.
fileNames = text.split(" ")
And I would have surely tripped over the 'spaces in filenames' thing within the next hour. Thanks for the suggestions!
-
Ah! Right, I've just tried printing and it appears that my split method isn't splitting on the the tab character. I need to play around with it some more I think.
-
Hello again.
I wonder if someone could help out with a bit of Ruby scripting. I've written a workflow that deletes a list of files selected from Alfred. The problem is with the script; I can't get it to delete the files.
ext = "{query}"fileNames = text.split("/t")filesDeleted = ""fileNames.each do |fileName|command = "rm -r " + fileNamesystem(command)filesDeleted << fileNameendprint filesDeletedEverything else works okay apart from the system call.Any ideas as to what I've forgotten? ... -
Yes, I was doing it wrong.
Thanks.
-
Right, I think that
blah='<tab>'
needs to be
IFS='<tab>'
All working now. Thanks :-)
-
Thanks. I'll give that a try. It look like I was accessing the array incorrectly.
-
You can't access what keyword was fired, you can grab the value that was passed via that keyword using {query}
Yes, sorry, that's what I meant: how do I get hold of the value?
-
Another question :-)
How do I get hold of the parameter string using Ruby?
Thanks again.
-
Hi there.
Does anyone have an example Bash script that works with items selected with the option-up?
Having trouble separating the items.
Thanks
-
Did anyone find a solution for this? Actually it would be nict to concat searches
enter keyword1+parameter1 -> enter (keyword2+)parameter2
do something with parameter1 and parameter2.
I suggested some sort of input action that would let developers take arbitrary text strings from the user during a workflow.
http://www.alfredforum.com/index.php?/topic/261-do-we-need-an-arbitrary-input-action/
-
Yeah, I'd like to be able to select whether the output goes to a notification, or to Large Type, depending on conditions in the script.
I realise this is probably not that feasible under the current architecture (one module just captures the output of the previous),
Mmmm.
If you have a look at Vero's Google Searches workflow, it looks as if the actions can have multiple inputs and outputs.
-
Handy to know, but I was thinking more of something that would allow you to select the next action in a workflow, rather than select the next statement inside a workflow action.
-
-
Hi there
First of all, I'm really enjoying Alfred's second incarnation. The workflow stuff is fantastic.
I've even had a quick go at reworking an old extension for creating new folders (nothing clever).
Anyway, while fiddling with the Applescript, I wondered if it was worth adding another action that would help with the cases where you needed to input a second or third parameter through Alfred (at the moment, I'm calling a dialog up through Applescript).
So, how would it work? Well when you set it up, you give the input action a name (fileLocation for example) and some text it would display in Alfred.
In use:
The action would take a {query} from a preceding action
and then take user input from Alfred.
and then join the user input to {query}, appending the action name (so you could identify what the value was) and the value
The new {query} would then be passed on to the next workflow action (which could be another 'arbitrary input' action)
Having written it, it does look a bit complicated (especially when it comes to parsing the query)
-
What about typing a * in front of "Haze" ?
I had no idea you could do that. :-|
-
Not sure how this would work, but how about a mechanism which would allow the workflow developers to push updates out to Alfred. Perhaps a parameter on the workflow which would tell Alfred where to check for new versions.
Or maybe a repository. A repository somewhere would probably be better.
Store images in Alfred's clipboard history, allow images in clipboard snippets
in Alfred Feature Suggestions
Posted
Another vote for images in the Alfred clipboard