Jump to content


Photo

Faves - Formerly Favorite Folders

workflow favorite folder

  • Please log in to reply
67 replies to this topic

#1 David Ferguson

David Ferguson

    Alfred Guru

  • Staff
  • 1,865 posts
  • LocationHuntsville, AL

Posted 06 March 2013 - 01:06 PM

Formerly called Favorite Folders, now allows you to set any file, folder, or application as a favorite.

 

A user requested this under the help and questions forum and i really liked the idea of it. I threw it together really quick for them but thought I would share with you guys as well. Not sure if something like this has been made already or not but, here is my rendition of it.

 

faves.jpg

 

The idea is to have a list of items that you access often, saved in a list and easily accessible. Results are actionable, can be opened by pressing Enter, browsed in Alfred by pressing Cmd+Enter, or removed from the Favorites List with Ctrl+Enter.

 

Download


  • macosxguru, thec13, BabaOo and 3 others like this
Twitter: jdfwarrior | Blog: dferg.us

#2 Tyler Eich

Tyler Eich

    Community Hero

  • Member
  • PipPipPip
  • 610 posts
  • LocationIndiana, USA

Posted 06 March 2013 - 01:36 PM

Great workflow! I made one small change to the 'favs' script filter (on line 10):

-- $w->result( $fav, $fav, basename( $fav ), $fav, 'filetype:public.folder' );
++ $w->result( $fav, $fav, basename( $fav ), $fav, "fileicon:$fav" );

 

This loads the the actual icon of the folder instead of a generic folder icon; it helps me know what folder I'm looking at  :)


  • thec13 likes this

#3 David Ferguson

David Ferguson

    Alfred Guru

  • Staff
  • 1,865 posts
  • LocationHuntsville, AL

Posted 06 March 2013 - 01:44 PM

ah cool

 

Great workflow! I made one small change to the 'favs' script filter (on line 10):

-- $w->result( $fav, $fav, basename( $fav ), $fav, 'filetype:public.folder' );
++ $w->result( $fav, $fav, basename( $fav ), $fav, "fileicon:$fav" );

 

This loads the the actual icon of the folder instead of a generic folder icon; it helps me know what folder I'm looking at  :)

 

cool, nice idea


Twitter: jdfwarrior | Blog: dferg.us

#4 GamerChase

GamerChase

    Member

  • Member
  • PipPip
  • 102 posts

Posted 06 March 2013 - 01:56 PM

Thanks, David. This will be awesome, but I can't figure out how to add any favorites to get started.  :huh:

 

Edit: Got it.  :D


Edited by GamerChase, 06 March 2013 - 02:15 PM.

twitter-follow.png


#5 vdesabou

vdesabou

    Advanced Member

  • Member
  • PipPipPip
  • 330 posts
  • LocationParis

Posted 06 March 2013 - 02:41 PM

I actually did the same kind of workflow but with old school ksh scripts :) .

 

I am using a hotkey to trigger your workflow, see http://d.pr/i/zEUM

It is working but I'm wondering if this is the most efficient way to do it?

 

Thanks again



#6 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 774 posts

Posted 06 March 2013 - 06:32 PM

I did something similar but for any file or folder.

 

You can basically "fav" anything from Alfred.

 

I'll post it as soon as possible.



#7 David Ferguson

David Ferguson

    Alfred Guru

  • Staff
  • 1,865 posts
  • LocationHuntsville, AL

Posted 06 March 2013 - 09:35 PM

I did something similar but for any file or folder.

 

You can basically "fav" anything from Alfred.

 

I'll post it as soon as possible.

 

Great idea Carlos. JuhaT was the user that suggested this workflow over in the other forum and he had only mentioned wanting folders. That was the motivation for only providing folders here. This workflow could easily be modified to do files as well too. You would only have to remove the public.folder filter from the file filter area, and remove the specification to open results in Finder. After that, I think it should work for anything.


Twitter: jdfwarrior | Blog: dferg.us

#8 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 774 posts

Posted 06 March 2013 - 09:44 PM

Great idea Carlos. JuhaT was the user that suggested this workflow over in the other forum and he had only mentioned wanting folders. That was the motivation for only providing folders here. This workflow could easily be modified to do files as well too. You would only have to remove the public.folder filter from the file filter area, and remove the specification to open results in Finder. After that, I think it should work for anything.

 

I’ll download your workflow as soon as possible. It’s nice to have a kind of Finder Favorites within Alfred. Maybe your workflow should be part of Alfred since it provides a very useful feature. Thanks again for sharing it.



#9 erist

erist

    Member

  • Member
  • PipPip
  • 36 posts

Posted 11 March 2013 - 03:03 PM

How do you add a folder to favs?



#10 GamerChase

GamerChase

    Member

  • Member
  • PipPip
  • 102 posts

Posted 11 March 2013 - 03:20 PM

How do you add a folder to favs?

 

I had the same problem, but here it is: open Alfred, press "/" without the quotations, then navigate to the folder you want to favourite. Then press the right arrow key and scroll down to "Add to Favorites" and hit Enter.  :)


  • vinh291 likes this

twitter-follow.png


#11 David Ferguson

David Ferguson

    Alfred Guru

  • Staff
  • 1,865 posts
  • LocationHuntsville, AL

Posted 11 March 2013 - 03:31 PM

How do you add a folder to favs?

 

To expand on what Chase responded...

 

This is set up to be a result action. So, that being said, find any folder in Alfred via the regular search method or via the file navigation, press the right arrow to display the result actions, and select Add to Favorites.


  • liatmgat likes this
Twitter: jdfwarrior | Blog: dferg.us

#12 Ruth

Ruth

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 14 March 2013 - 08:11 PM

I love this idea because I always forget which folders I have set to hotkeys and just end up opening them in Alfred anyway.  However, running into a problem: I can't remove folders from the favourites list.  This was discovered when I added the same folder multiple times to the favourites list, which I could otherwise live with.  Any chance of a solution?

 

Thanks for all your posts!



#13 R4z3r

R4z3r

    Member

  • Member
  • PipPip
  • 47 posts
  • LocationVirginia

Posted 14 March 2013 - 08:43 PM

I can't get this to work for the life of me. I installed it, I can browse using '/' but clicking the right arrow key on the keyboard does nothing. Not sure what I'm doing wrong here. Help?



#14 David Ferguson

David Ferguson

    Alfred Guru

  • Staff
  • 1,865 posts
  • LocationHuntsville, AL

Posted 14 March 2013 - 08:57 PM

I can't get this to work for the life of me. I installed it, I can browse using '/' but clicking the right arrow key on the keyboard does nothing. Not sure what I'm doing wrong here. Help?

 

When you press the right arrow, you should get a list of result actions from Alfred. Select the add to favorites action


Twitter: jdfwarrior | Blog: dferg.us

#15 R4z3r

R4z3r

    Member

  • Member
  • PipPip
  • 47 posts
  • LocationVirginia

Posted 15 March 2013 - 12:25 PM

When you press the right arrow, you should get a list of result actions from Alfred. Select the add to favorites action

Unless I'm doing something horribly wrong, I'm not getting a results actions from Alfred. It just stays blinking on this screen as an example. Nothing happens when clicking right, left, up or down. Turning on the File Search > Navigation > Use <- and -> for folder navigation works if I turn that on, but without it on nothing happens when clicking right arrow.

 

LjWFIHR.png



#16 nikipore

nikipore

    Member

  • Member
  • PipPip
  • 40 posts

Posted 15 March 2013 - 12:49 PM

I had trouble wth some folders until I realized there were in fact symbolic links. Is your Desktop folder a folder or a symbolic link? If the latter is true, dragging a symlink to the file action should cure the problem.

 

@David: Can you add the file type public.symlink to the file action? I haven't notices any problems so far.



#17 R4z3r

R4z3r

    Member

  • Member
  • PipPip
  • 47 posts
  • LocationVirginia

Posted 15 March 2013 - 01:58 PM

I had trouble wth some folders until I realized there were in fact symbolic links. Is your Desktop folder a folder or a symbolic link? If the latter is true, dragging a symlink to the file action should cure the problem.

 

@David: Can you add the file type public.symlink to the file action? I haven't notices any problems so far.

 

Hey @nikipore,

 

I'm not getting any action on any folder anywhere. They are the actual folders and not symbolic links as well. Whether it's the /etc/  or /Library/ or the Desktop as shown in that picture, none of them get me to see an action. I haven't been able to see "Add to Favorites" anywhere. The 'favs' keyword works correctly as expected (just shows that there are no favorite folders.

 

EDIT:

Figured it out, by default my settings in "File Search" > "Actions" > "Show Actions:" did NOT have -> as a command for show actions. The default was just fn or ctrl. 


  • drking likes this

#18 David Ferguson

David Ferguson

    Alfred Guru

  • Staff
  • 1,865 posts
  • LocationHuntsville, AL

Posted 15 March 2013 - 02:42 PM

I had trouble wth some folders until I realized there were in fact symbolic links. Is your Desktop folder a folder or a symbolic link? If the latter is true, dragging a symlink to the file action should cure the problem.

 

@David: Can you add the file type public.symlink to the file action? I haven't notices any problems so far.

 

Actually you could add that yourself rather easily. I believe I mentioned in a post above that you could remove the filter and have it so that you could add files as well. Just go to the workflows area, select the Favorites workflow and in the top left corner, double click the File Action item and add the symlink item to the Type section


Twitter: jdfwarrior | Blog: dferg.us

#19 nikipore

nikipore

    Member

  • Member
  • PipPip
  • 40 posts

Posted 15 March 2013 - 02:56 PM

I did it for my version of the workflow. I was referring to your workflow.



#20 sphardy

sphardy

    Member

  • Member
  • PipPip
  • 81 posts

Posted 15 March 2013 - 02:57 PM

FYI: Also can add public.volume type to enable network shares to be favourites - works well on my automounted NFS shares





Also tagged with one or more of these keywords: workflow, favorite, folder

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users