ramiro.araujo
Member-
Posts
84 -
Joined
-
Last visited
-
Days Won
6
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Everything posted by ramiro.araujo
-
Browse and Manage alfred extension (alf)
ramiro.araujo replied to jmjeong's topic in Share your Workflows
Great!! I had this kind of extension planned to do, but my idea is to build an extension to browse other installed extensions, see their keywords and basic description, and launch them on enter (re-open Alfred with the keyword typed in). What do you think? -
Selectively delete recent Downloads Workflow
ramiro.araujo replied to ramiro.araujo's topic in Share your Workflows
@vdesabou I would love to, but couldn't find how to map filetype to icon, and couldn't find the time to search for it -
I know it's a dumb question, but did you by any chance restart after (if applies) installing path finder and/or setting it to the default file browser? I had this issue, come right to the forum to let it know, restarted, and everything is working fine ever since :S I'm on OSX 10.8.3, Alfred 2.0.2, Path Finder 6.1.4 (1527) and can't replicate what you're seeing. btw, I'm not from alfred's crew, just trying to help
- 3 replies
-
- path finder
- open
-
(and 1 more)
Tagged with:
-
Faves - Formerly Favorite Folders
ramiro.araujo replied to jdfwarrior's topic in Share your Workflows
Thanks David, great workflow!! I took the liberty of modifying it a bit, to have an optional argument in the script filter, in order to be able to filter the results. Here is the code of the script filer, comments around my additions: require('workflows.php'); $w = new Workflows( 'jdfwarrior.faves' ); $list = $w->data().'/favorites.json'; //-- Ramiro's filter -- $filter = "{query}"; //-- end Ramiro's filter -- if ( file_exists( $list ) ): $favs = $w->read( $list, true ); if ( count( $favs ) > 0 ): foreach( $favs as $fav ): //-- Ramiro's filter -- if ($filter && strpos(strtolower($fav),strtolower($filter)) === false) continue; //-- end Ramiro's filter -- $w->result( $fav, $fav, basename( $fav ), $fav, 'fileicon:'.$fav, 'yes', '', 'file' ); endforeach; else: $w->result( 'na', 'na', 'No favorites', 'No favorites were found. Try adding some new favs', 'icon.png', 'no' ); endif; else: $w->result( 'na', 'na', 'No favorites', 'No favorites were found. Try adding some new favs', 'icon.png', 'no' ); endif; echo $w->toxml(); Hope you like it! ps: would you consider uploading your Workflows to Github or similar facilitate contribution? -
Use Shortcat? This workflow is for you.
ramiro.araujo replied to webkenny's topic in Share your Workflows
haha, same as the_ben, I've never heard of it; looks really nice! Thanks! -
Hi all! This is my first public workflow! It basically solves me a problem of selectively deleting files in the Downloads folder without emptying it completaly. Usage: 1. type the keyword, wait for the list of files. The files come ordered by Date Added, just like the Downloads icon in the Dock. 2. select the file to delete, type to filter files by name 3. optionally shift select the file to delete all newer files up to selected one Everything you delete goes to the trash, so there's no much danger involved. Download: http://bit.ly/Z7IrNB Contribute: https://github.com/ramiroaraujo/AlfredWorkflows/ Hope you like it! Ramiro
-
Alfred v2 not honoring xml order in Script Filter
ramiro.araujo replied to ramiro.araujo's topic in Workflow Help & Questions
ha! nice one! working perfect now. Thanks! -
Alfred v2 not honoring xml order in Script Filter
ramiro.araujo replied to ramiro.araujo's topic in Workflow Help & Questions
oh, I see. Well, I'm not sure, since I'm deleting the files, but most of them I'm recovering to continue testing. On the other hand, it's working fine when doing Cmd+number to select the action; if it's learning, it should be the kind of the same result. -
Alfred v2 not honoring xml order in Script Filter
ramiro.araujo replied to ramiro.araujo's topic in Workflow Help & Questions
And I've just find out that if you type the keyword and do Cmd + number to select it, it's shown in the correct order! And the 2, 10, 0, 1, 3, 4 order from before is now 11, 3, 0, 1, 2... :S edit: BTW, I'm logging the generated order and the xml is always fine -
I'm finishing a "delete downloads files" workflow, and I'm working hard on ordering the files the same way as you see them on the Dock's Downloads icon. I have the files correctly ordered, but Alfred is showing them in the following order (0 indexed): 2, 10, 0, 1, 3, 4, 5, 6... everything is perfectly order after the first glitch. Let me know if you need a demo or something
-
Hi! same situation than pstadler here. Anything I can do to help you debug it?
-
well, it seems I jumped into conclusions too early, as it does work, it only needed a restart :S sorry about that...
-
I use Path Finder instead of Finder for file browsing, and it has an option to set itself as the default file browser for the OS, causing the Reveal in Finder command for almost all application to open Path Finder instead of Finder. This also works in Alfred v1, but sadly it doesn't en Alfred v2. Hope you can solve this soon! Thanks Ramiro
-
pop alfred with keyword filled with applescript?
ramiro.araujo replied to ramiro.araujo's topic in Workflow Help & Questions
yeap! worked like charm. Thanks! -
@jvdneut ahh, ok, yes fuzzy searching would be great
-
I've just tried this, but, isn't this the same as the actual search input inside virtually any OSX app? Actually, my Mountain Lion install (I asume everyones) comes with a shortcut (Cmd + shift + /) to toggle this
-
Checkbox to escape backslash in {query}
ramiro.araujo replied to ramiro.araujo's topic in Alfred Feature Suggestions
Haaa! great solution! thanks!! -
I find that whenever a workflow has a hotkey associated, the selected file's path is copied to the clipboard. Is this by design? It would be great to keep the current clipboard text available. If this is necessary for Alfred's workflow implementation, then could be possible to internally save the current clipboard information and restore it after the workflow is finished? If I actually need the path in the clipboard, I could easily set an additional output to save it to the clipboard Hope it makes sense Cheers!
-
Checkbox to escape backslash in {query}
ramiro.araujo replied to ramiro.araujo's topic in Alfred Feature Suggestions
check the later discussion. If the passed string contains a backslash in the last character, the single or double quote that wraps the string gets escaped, the the ruby syntax breaks -
Smarter name filtering for file browsing
ramiro.araujo replied to ramiro.araujo's topic in Alfred Feature Suggestions
Nice! didn't know that My feature request stands, though. I believe it would be faster and easier (plus the * characters is far away) Thanks! -
Checkbox to escape backslash in {query}
ramiro.araujo replied to ramiro.araujo's topic in Alfred Feature Suggestions
ahah, ok. I'm a little lost here. I found that I cannot receive the string content 100% sure, since I need to parse it in, say, Ruby, and the backslash character might escape my last single quote, and thus break the syntax. It's like chicken and egg. How can I parse the string and escape the backslash character if it breaks the syntax of the parser? Btw, I'm into PHP, Ruby and Python, but not much sh, so there might be ways of receiving that string information and escaping it that I might not know. Thanks