ired Posted January 28, 2015 Share Posted January 28, 2015 (edited) Done. Solves the Packal Update Issue. Thanks! Still no luck with the Chrome/Firefox hassle... Though I made an observation, when setting the default browser, thst I get the following notifications for the different browser options: "Changed default browser to Default browser: safariSafari" "Changed default browser to Default browser: chromiumChromium" "Changed default browser to Default browser: firefoxFirefox" "Changed default browser to Chrome" The notification for Chrome is the odd one out, even though it has the most reasonable text. Maybe this is a lead as to why I'm having issues with Chrome? Additionally, when trying to run the workflow from Safari set as the default browser, it still forces Firefox to open. UPDATE: Even more troubleshooting. After I removed Firefox completely from my system, and then tried to run the workflow, I get a dialogue window asking me where to find Firefox.app. If I dismiss the window, the notification does read "Successfully posted %v exit status 1 exit status 1". The bookmark is then NOT posted to Pinboard. I have the same issue with firefox. Default is set to Chrome... Edited January 28, 2015 by ired Link to comment
grusch-it Posted January 28, 2015 Share Posted January 28, 2015 @listboss: the option to set the browser which will be used to grab the URL isn't needed anymore since the URL gets grabbed from frontmost browser now? @all having problems with auto-starting browsers: could you please have a look if the file get-current-url.applescript is present in your workflow's directory or not ? (in alfred -> workflows -> right-click on pinboard workflow -> reveal in finder). Link to comment
eightohnine Posted January 28, 2015 Share Posted January 28, 2015 (edited) could you please have a look if the file get-current-url.applescript is present in your workflow's directory or not ? Yes, that file is present. But there are two similar files, one is the aforementioned "get-current-url.applescript", the other is "get-current-url.scpt". I barely know my way around AppleScript, but I quickly scanned over both files and found following passage in the latter one. Seems wrong? else if theApplication is "Chromium.app" and appIsRunning("Chromium") then tell application "Firefox.app" set theURL to «class URL » of «class acTa» of first window set theText to name of «class acTa» of first window end tell Edited January 28, 2015 by eightohnine Link to comment
grusch-it Posted January 28, 2015 Share Posted January 28, 2015 Found the problem and opened pull request on github If somebody could tell me how to attach files I could upload the fixed files here until a fixed version gets released (-: Link to comment
ired Posted January 28, 2015 Share Posted January 28, 2015 (edited) Found the problem and opened pull request on github If somebody could tell me how to attach files I could upload the fixed files here until a fixed version gets released (-: Thank you for your pull request link. I've tried it and it worked for me. Thanks Edited January 28, 2015 by ired Link to comment
eightohnine Posted January 28, 2015 Share Posted January 28, 2015 (edited) I tried to get the new files to work, but probably I just don't know my way around github well enough to make it run correctly. Isn't it just a matter of downloading your three changed files and replacing the old ones in the workflow folder? Edited January 28, 2015 by eightohnine Link to comment
grusch-it Posted January 28, 2015 Share Posted January 28, 2015 Easiest way would be: download fixed get-current-url.applescript, open with Apple Script-Editor, save/export as get-current-url.scpt (format: script) and replace the get-current-url.scpt in the workflow directory with it. eightohnine 1 Link to comment
eightohnine Posted January 28, 2015 Share Posted January 28, 2015 This did it for me! Working like a charm now. Thanks! Link to comment
listboss Posted January 28, 2015 Author Share Posted January 28, 2015 I just updated the Packal with new fix from the pull request by https://github.com/grusch-it @grusch-it Please let me know if it fixes your problem. (I also removed the browser settings from the Workflow as it's not necessary anymore.) grusch-it and eightohnine 2 Link to comment
eightohnine Posted January 28, 2015 Share Posted January 28, 2015 (edited) Running 0.4.0 without any problems! Thanks for the quick fix! Edited January 28, 2015 by eightohnine Link to comment
manjaro Posted April 10, 2015 Share Posted April 10, 2015 Hello, Awesome workflow. One feature that would help in better snappiness is - not to auto update every time after posting the bookmark. Two things that could be better are: 1. When posting a bookmark, just update the posted bookmark into the cache - without going and fetching from pinboard 2. Or update the cache only once per day Thanks Joe Link to comment
manjaro Posted October 2, 2015 Share Posted October 2, 2015 Hello, The extension does not work in El Capitan (10.11 OSX). It says Error in Generating Results open /Users/.../Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/cc.hamid.gopinboard/ Best Regards, Joe. Link to comment
grusch-it Posted October 3, 2015 Share Posted October 3, 2015 Open /Users/_USER_/Library/Application Support/Alfred 2/Workflow Data/cc.hamid.gopinboard/settings.plist Replace <key>update_time</key><string>2015-10-03T22:44:35.503376591+02:00</string> by <key>update_time</key><string></string> (reset last update time so to speak) Then just update Pinboard's cache using Alfred. That should do the trick. Link to comment
manjaro Posted October 4, 2015 Share Posted October 4, 2015 Open /Users/_USER_/Library/Application Support/Alfred 2/Workflow Data/cc.hamid.gopinboard/settings.plist Replace <key>update_time</key><string>2015-10-03T22:44:35.503376591+02:00</string> by <key>update_time</key><string></string> (reset last update time so to speak) Then just update Pinboard's cache using Alfred. That should do the trick. Awesome! This worked. Thanks. Link to comment
listboss Posted October 4, 2015 Author Share Posted October 4, 2015 Thanks grush-it For anyone else experiencing the same issue, you can either follow the suggested fix above or just add/modify a bookmark on Pinboard's website directly and then use Alfred to update the cache by issuing the pu command in Alfred's window Link to comment
listboss Posted December 8, 2017 Author Share Posted December 8, 2017 Released a new version with bug fixes, support for compiling using go+1.5 and support to add 'toread' to bookmarks. See first page. Link to comment
piggah Posted December 11, 2017 Share Posted December 11, 2017 This is really nice. I think I'm going to switch to it because it allows adding to pinboard. I think I can pretty much replace spillo with this. I only really need to be able to search and add. Don't need the resource overhead of spillo for those basic things. Link to comment
raygan Posted June 4, 2019 Share Posted June 4, 2019 This is my most frequently used workflow, but it seems to have broken with the upgrade to Alfred 4. Search no longer works. I hope listboss will update it! askedrelic 1 Link to comment
noodles5 Posted July 2, 2019 Share Posted July 2, 2019 Hey, just tried this workflow out with the Alfred 4 version, although having an issue. Basically after typing in a few letters into Alfred (not even necessarily the keywords for this workflow) I'll hear the Apple "dunk" noise and the Alfred search bar will disappear. Link to comment
noodles5 Posted July 2, 2019 Share Posted July 2, 2019 Hmm, just reinstalled and now I can't seem to replicate the issue. If it happens again, I'll screen record. 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