-
Posts
132 -
Joined
-
Last visited
-
Days Won
4
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Everything posted by MuppetGate
-
Workflows limited/excluded for specific apps
MuppetGate replied to mcskrzypczak's topic in Alfred Feature Suggestions
Yup, this would be very handy. -
Excellent work. Thanks for sharing!
-
Do we need an 'arbitrary input' action?
MuppetGate replied to MuppetGate's topic in Alfred Feature Suggestions
Thanks very much. That's just what I'm looking for. :-) -
"Window" output action for Workflows
MuppetGate replied to tonio's topic in Alfred Feature Suggestions
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 ...
-
Executing system commands from Ruby
MuppetGate replied to MuppetGate's topic in Workflow Help & Questions
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! -
Executing system commands from Ruby
MuppetGate replied to MuppetGate's topic in Workflow Help & Questions
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 " + fileName system(command) filesDeleted << fileName end print filesDeleted Everything else works okay apart from the system call. Any ideas as to what I've forgotten? ...
-
Accessing keyword parameter in Ruby
MuppetGate replied to MuppetGate's topic in Workflow Help & Questions
Yes, I was doing it wrong. Thanks. -
Working with multiple selected items
MuppetGate replied to MuppetGate's topic in Workflow Help & Questions
Right, I think that blah='<tab>' needs to be IFS='<tab>' All working now. Thanks :-) -
Working with multiple selected items
MuppetGate replied to MuppetGate's topic in Workflow Help & Questions
Thanks. I'll give that a try. It look like I was accessing the array incorrectly. -
Accessing keyword parameter in Ruby
MuppetGate replied to MuppetGate's topic in Workflow Help & Questions
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
-
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/
-
How about a 'conditional' action?
MuppetGate replied to MuppetGate's topic in Alfred Feature Suggestions
Mmmm. If you have a look at Vero's Google Searches workflow, it looks as if the actions can have multiple inputs and outputs. -
How about a 'conditional' action?
MuppetGate replied to MuppetGate's topic in Alfred Feature Suggestions
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. -
Takes an input from one action and puts it straight out along multiple wires. On each of the 'wires' you can set a value. The action attached to the wire is executed if the wire's value matches the value of the conditional.
-
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). http://sdrv.ms/U8Bc6U 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)
-
File System Navigation and Text Matching
MuppetGate replied to ehrlund's topic in Alfred Feature Suggestions
I had no idea you could do that. :-|- 16 replies
-
- filesystem
- navigation
-
(and 2 more)
Tagged with: