idea4IT Posted March 29, 2016 Author Share Posted March 29, 2016 I'm afraid it's currently one arg only. You can't change arg based on the mods, though I think this is coming in v3. What other data do you need to pass? Would it be possible to cache the data to disk, keyed by URL? I need to keep track of the corresponding ID. In this specific case, two IDs can have the same URL, so that'd be ambiguous. Mh, let me try to think about something Link to comment
deanishe Posted March 29, 2016 Share Posted March 29, 2016 (edited) Darn. I figured that was probably the case. Best I can come up with: start a local HTTP server (I think you do this in your Gmail workflow for OAuth, oder?) and use http://127.0.0.1:XXXX/<linkid> as the arg/URL. The local server could do a 301/302 redirect to the correct URL, so Quicklook works, and you can parse the ID back out of the URL in the follow-up action. Edited March 29, 2016 by deanishe Link to comment
idea4IT Posted March 30, 2016 Author Share Posted March 30, 2016 Fortunately, Pocket seems to be handle URLs as unique, so you can't add the same URL twice. That solves the problem! Link to comment
Cedric Posted April 3, 2016 Share Posted April 3, 2016 Hello, Thanks for this amazing worfklow. I'm a big pocket user (top 1% reader according to their stats) but both the mac app and the firefox extension were failing me (the firefox extension doesn't work when you don't save your history). I'm not sure how the "save link from clipboard" works though. I activated the global shortcut, but nothing much happens. How is it supposed to work? Should the link appear in alfred with the option to "save to pocket"? or does it work in the background with no feedback to the user? By the way, you should mention in the description that users have to set the global hotkey themselves; this is the normal behaviour of Alfred to avoid conflicts with other system hotkeys. Cheers Link to comment
petebocken Posted February 17, 2017 Share Posted February 17, 2017 Holding down control to "Open and Archive link" works great, but holding down option to "Archive link" removes it from alfred and displays a notification that it's archived, but does not archive the link in Pocket if I visit the website or my iOS app. Link to comment
Weaselboy Posted March 30, 2017 Share Posted March 30, 2017 Ever since updating to Sierra 10.12.4 when I use this extension it launches two Python processes in Activity Monitor that peg CPU usage at 99% and they just hang there. Eventually the MacBook gets hot and the fans race until I quit those two processes in Activity Monitor. Link to comment
deanishe Posted March 30, 2017 Share Posted March 30, 2017 It's a known issue with the underlying Alfred-Workflow library the workflow uses. It doesn't get along with Sierra. Weaselboy 1 Link to comment
deanishe Posted April 2, 2017 Share Posted April 2, 2017 Library's fixed. Weaselboy 1 Link to comment
deanishe Posted April 3, 2017 Share Posted April 3, 2017 See this thread for a temporary fix till Fabio pushes an official update to the workflow. Link to comment
sr_navarre Posted June 9, 2017 Share Posted June 9, 2017 Thanks for making this workflow -- I'm having a little trouble. No matter what I do, the workflow tells me that my Pocket list is empty. What am I doing wrong? Link to comment
deanishe Posted June 10, 2017 Share Posted June 10, 2017 It's almost impossible to say with so little information. Please provide a detailed description of your problem, otherwise it's unlikely that anyone can help you. Link to comment
sr_navarre Posted June 10, 2017 Share Posted June 10, 2017 (edited) Sorry -- I realized that I hadn't really provided any useful information a little later! Anyway, I'm also having the issue with Python processes that people are talking about, and the temporary fix didn't seem to help, so I suppose I will just wait until there is an update to the workflow. EDIT: I just tried Fixum again and now my Pocket workflow works. So, thanks for that! Edited June 10, 2017 by sr_navarre Link to comment
proxemics Posted January 31, 2018 Share Posted January 31, 2018 (edited) Bit of a newb to Workflows, but do I need to set this up or something to work? I have installed it, but it just says "contacting getpocket.com"? - Update - Was in issue with my work network/machine, all is good on a different machine/network. Edited February 3, 2018 by proxemics Link to comment
paulw Posted February 6, 2019 Share Posted February 6, 2019 (edited) Great workflow, thank you! How can I stop it from adding an "alfred" tag by default? Edit: Figured it out. In the workflow's files, change line 74 of pocket_save.py from: tags = ['alfred'] to tags = [''] Edited February 6, 2019 by paulw answered my own question Link to comment
bivalvegruff Posted February 18, 2019 Share Posted February 18, 2019 Great workflow! Don't know if it's being updated anymore, but I wish I could search for word without the order of the words being a match. For example typing "pocket youtube tesla" would filter out all pocket articles from YouTube with the word Tesla anywhere. Or "pocket youtube tesla downtown" would show the video "Driving through downtown with a Tesla" on YouTube. I guess what I'm trying to say is I really like Teslas. Link to comment
deanishe Posted February 18, 2019 Share Posted February 18, 2019 23 minutes ago, bivalvegruff said: Don't know if it's being updated anymore Fabio still does bugfixes, but I don't think the workflow is in active development any more. He was studying computer science and has moved on to "bigger" things. As best as I can tell, he's heavily into Smalltalk these days, and that (or Lisp) usually means you're heading for a PhD in computer science. bivalvegruff 1 Link to comment
Weaselboy Posted March 21, 2020 Share Posted March 21, 2020 https://github.com/fniephaus/alfred-pocket/releases/tag/v7.3 Looks like there was an update a couple days ago. ARAMAKI, JJJJ and MasterBruce 3 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