goofansu Posted April 13, 2013 Share Posted April 13, 2013 Hi, there is something wrong after delete an item from faves list. When add to favorite without delete any item, favorites.json is like following: ["\/Users\/suyejun\/Dropbox","\/Users\/suyejun\/Dropbox\/code"] After you delete an item from faves list, favorites.json is like following: {"1":"\/Users\/suyejun\/Dropbox\/code"} Then, when I delete an item, it cannot match any item in my favs list and delete nothing. Link to comment
iKam Posted April 13, 2013 Share Posted April 13, 2013 Wonderful workflow David! Thank you very much! And is it possible to filter folder/files not just using the name but also the spotlight comment of them? Link to comment
nitingoyal Posted July 8, 2013 Share Posted July 8, 2013 Deletion of folders/files is not working Link to comment
dathin Posted September 24, 2013 Share Posted September 24, 2013 Deletion of folders/files is not working It is not working for me either... Link to comment
justmytwospence Posted October 2, 2013 Share Posted October 2, 2013 I third the deletion issue. Even uninstalling and reinstalling did not get rid of them. Link to comment
Tyler Eich Posted October 3, 2013 Share Posted October 3, 2013 (edited) I third the deletion issue. Even uninstalling and reinstalling did not get rid of them. It is not working for me either... Deletion of folders/files is not working Hi, there is something wrong after delete an item from faves list. When add to favorite without delete any item, favorites.json is like following: ["\/Users\/suyejun\/Dropbox","\/Users\/suyejun\/Dropbox\/code"] After you delete an item from faves list, favorites.json is like following: {"1":"\/Users\/suyejun\/Dropbox\/code"} Then, when I delete an item, it cannot match any item in my favs list and delete nothing. Try this download. I found that the workflow was using unset to delete items from an array, which messed up the indices. This version uses array_splice to remove items, thus reconstructing the indices and preserving the array. It also uses array_values to regenerate your existing favorites list, saving it as an array instead of an object. It's a small fix, but say the word if it works for you Edited October 5, 2013 by Tyler Eich Link to comment
justmytwospence Posted October 5, 2013 Share Posted October 5, 2013 Thanks for looking into it Tyler, but no change for me. Link to comment
Tyler Eich Posted October 5, 2013 Share Posted October 5, 2013 Thanks for looking into it Tyler, but no change for me. Thanks for the input; I made one more minor change, to restore existing favorites lists. Here's the new download (also available in the original post) Link to comment
dathin Posted October 6, 2013 Share Posted October 6, 2013 Hello Thanks for trying to solve it. Unfortunately I tried the new download but I am still getting the problem. best, Dionysis Link to comment
sm_miri Posted October 13, 2013 Share Posted October 13, 2013 Hi, As you can see below, I can't delete items from my faves list anymore no matter how many times I press ctrl+Enter. I even removed the whole workflow and reinstalled it. They are still there. Any help? Thanks http://cl.ly/image/1c0Y1O3u2c1O Link to comment
Rayby Posted October 30, 2013 Share Posted October 30, 2013 Hello, I have the same problem. I can't delete items from my faves list with press ctrl+Enter :-( What is wrong ? Is there any solution? THX Link to comment
JuhaT Posted January 31, 2014 Share Posted January 31, 2014 I got my new iMac and having same issue. I can't remove folders from my list. Link to comment
Tyler Eich Posted February 1, 2014 Share Posted February 1, 2014 (edited) Hello Thanks for trying to solve it. Unfortunately I tried the new download but I am still getting the problem. best, Dionysis Hi, As you can see below, I can't delete items from my faves list anymore no matter how many times I press ctrl+Enter. I even removed the whole workflow and reinstalled it. They are still there. Any help? Thanks http://cl.ly/image/1c0Y1O3u2c1O Hello, I have the same problem. I can't delete items from my faves list with press ctrl+Enter :-( What is wrong ? Is there any solution? THX I got my new iMac and having same issue. I can't remove folders from my list. I took another stab at this deletion issue. Since David said the problem was related to the workflows.php class, I ported his code to Python (and added a few features). Download The workflow should 'just work'. If it doesn't let me know Changes: 'Remove from Favorites' file action added More flexible filtering using 'fuzzy' search 'Reveal in Finder' action Automatic removal of items that no longer exist on your system Automatic removal of duplicate items New icons Edited February 1, 2014 by Tyler Eich ClintonStrong 1 Link to comment
JuhaT Posted February 1, 2014 Share Posted February 1, 2014 Superb! Thank you Tyler. I had duplicate folders on my list for some reason, but replacing old workflow with yours fixed instantly. I love it! Tyler Eich 1 Link to comment
DMaher Posted February 2, 2014 Share Posted February 2, 2014 I think you guys may be falling victim to a weird bug I've had with my Workflows class. I haven't been able to replicate it so it's hard for me to test and fix it. There have only been a few users who see it. I would bet that it's, once again, that the code for some odd reason isn't able to read the bundle id from the workflow folder. The Workflows class reads the workflows info.plist to grab bundle id. It uses that bundle id to create folders to storing data in on your machine. If it doesn't read the bundle id, the path gets messed up and causes weird issues like this. I wish I had access to a machine that was having this problem so I could tinker with it a minute and find the problem I know I am a little bit late, but if you want to you can access my machine if it helps you solve the problem. PM me if interested. Always glad to help Link to comment
nwebb Posted February 9, 2014 Share Posted February 9, 2014 (edited) Tyler, thanks so much, works for me too. I'd stopped using this workflow because I had a bunch of non-existent folders coming up after a reorganisation . The addition of the dedicated "Remove From Favourites" option is also welcomed! The 'faves' keyword is less likely to bring up a bunch of other app folders than 'favorites' (i.e. Adobe core folders etc) but of course that's easy enough to change ourselves Edited February 9, 2014 by nwebb Tyler Eich 1 Link to comment
suc1338 Posted March 19, 2014 Share Posted March 19, 2014 I wonder how can i make a search query inside my faves folder. For example im looking for a file, but i just know that its in my faves folder. Is there any possibility or am i totally missing the point here? Cheers, Erwin Link to comment
mikedvzo Posted March 31, 2014 Share Posted March 31, 2014 Would be nice if the folders where sorted alphabetically. I can go on and do it manually in the json file but just an idea. Link to comment
jdevaud Posted January 3, 2015 Share Posted January 3, 2015 If you want to remove a "fave" go to /Users/[yourUser]/Library/Application Support/Alfred 2/Workflow Data and delete the items that you don't want anymore. Link to comment
mac_beth Posted January 24, 2015 Share Posted January 24, 2015 Many thanks for this great workflow. kind regards Matthias Link to comment
csaborio Posted February 1, 2015 Share Posted February 1, 2015 Thank you, this is brilliant! Link to comment
matthewhsu Posted February 22, 2015 Share Posted February 22, 2015 Thanks David & Tyler. Really useful and works great. - m Link to comment
Serge Posted November 12, 2016 Share Posted November 12, 2016 Better late than never, so thanks David for the workflow and thanks Tyler for fixing the "deleting issue". Link to comment
charlie-brise Posted April 19, 2018 Share Posted April 19, 2018 Downloading this workflow doesn't work ;( deanishe 1 Link to comment
charlie-brise Posted April 19, 2018 Share Posted April 19, 2018 This download link works fine http://cl.ly/1W453Z2O3h2L Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now