Jump to content

Pin Plus — Interact with your Pinboard bookmarks


Recommended Posts

Posted (edited)

Sure, you can download it here, but it require a valid email address to log in. In the meanwhile you can join the waiting list in order to test it, they are sending invitation quite fast.

 

thanks in advance Vitor!

Edited by Pyetro
Posted
30 minutes ago, Pyetro said:

but it require a valid email address to log in.

 

Not an issue, I don’t even need to open it to see the AppleScript dictionary.

 

50 minutes ago, Pyetro said:

it's a Chromium based browser!

 

In that case they should have access to a rich AppleScript dictionary. Yet it seems they don’t implement it. That’s something which needs to be fixed on their side; until they have an AppleScript dictionary, it is technically impossible to support the browser.

  • 1 month later...
Posted
On 2/22/2019 at 7:27 AM, vitor said:

Update.


Added support for Vivaldi and Brave. I’ve skipped Opera since while we can get the URL and Title from a tab, we can’t execute JavaScript (to run the bookmarklet to add bookmarks). The capability seems to be there (being Chromium-based) but not a way of turning it on.


To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.

Hi,

`Pa` keyword doesn't fire up a PinPlus bookmark gui on Brave. What am I missing?

  • vitor changed the title to Pin Plus — Interact with your Pinboard bookmarks
  • 1 month later...
Posted

Updated to 2022.3.


Workflow is now distributed via the Alfred Gallery. Download the new version from there or update directly from Alfred.

  • New repository.
  • New icon.
  • New About.
  • Add configurable keywords.
  • Convert Workflow Environment Variables into Workflow Configuration.
  • Add API key setting to Workflow Configuration.
  • Remove OneUpdater in favour of Gallery updating.

  • 2 weeks later...
Posted

Pin Plus seems to have broken for me. Maybe with my recent update to macOS 13.1 (I was on macOS 12 until a few days ago).

 

I tried updating to the latest version 2022.3 (updated through user gallery) 

 

My Safari is configured with:

✔ Allow JavaScript from Apple Events

 

With Safari frontmost, when I attempt a "PA" action, nothing happens and I get the following in Alfred's debugger:
 

[02:26:52.072] Pin Plus[Hotkey] Processing complete
[02:26:52.079] Pin Plus[Hotkey] Passing output '' to Run Script
[02:26:52.420] Pin Plus[Run Script] Processing complete
[02:26:52.426] Pin Plus[Run Script] Passing output 'null
' to Run Script
[02:26:56.978] Pin Plus[Keyword] Processing complete
[02:26:56.987] Pin Plus[Keyword] Passing output '' to Run Script
[02:26:57.306] Pin Plus[Run Script] Processing complete
[02:26:57.312] Pin Plus[Run Script] Passing output 'null
' to Run Script

 

"PIN" and "PUN" keywords seem to be working fine, its just "PA" that's no longer working.

Posted

Weird. Could you check in any Chromium browser (Brave, Chrome, Vivaldi, Edge)? You don’t need to be logged in to Pinboard, though you do need to Allow the Apple Events.

Posted

Vitor, I'm sorry but today I have been unable to replicate the problem, it's working again fine now. All that's changed since yesterday is that I've restarted my machine… hopefully just a weird glitch at my end / some kind of user error 🤷‍♂️. Sorry for the alarm.

Posted

Updated to 2023.1.

  • Changed default actions for modifiers, but made them configurable.
  • Removed keyword to force fetch. Now available with fn↩.
  • Show [No description] and [No tags] when unavailable.
  • Made launchd agent self-clean when trigger not found. To get this if you already have the workflow:
    1. Disable Periodic Refresh in configuration.
    2. Save.
    3. Force rebuild cache with fn↩.
    4. Enable Periodic Refresh.
    5. Save.

Note the above is not a requirement. The old agent was already pretty efficient so even leaving it there won’t make a noticeable difference.

  • 2 weeks later...
Posted
On 8/19/2022 at 7:36 AM, vitor said:


It’s not available for everyone to download. If you send me the DMG, I’ll look at the AppleScript dictionary and see if it can be added.

Vitor, is there some way I can send you an invite code for Arc Browser so that you could try adding support? I tried messaging you via the forum PMs but it says you don't accept messages. I'd post the code here but it's only good for 5 invites and I'm afraid they'd get used up before you got to use it.

 

FWIW, I tried to figure it out and was going to submit a PR but couldn't get it working. I tried just duplicating the workflow and adding "Arc" to the "chromium_variants" line in run_bookmarklet.js but after doing so, the workflow wasn't pulling up the Add Bookmark overlay.

Posted
5 hours ago, devnall said:

Vitor, is there some way I can send you an invite code for Arc Browser so that you could try adding support?


I have one, someone else sent it recently for another matter.

 

5 hours ago, devnall said:

I tried messaging you via the forum PMs but it says you don't accept messages.


Thank you for the heads up, I’ll look into it. I just got one the other day so it may just be full.

 

5 hours ago, devnall said:

I tried just duplicating the workflow and adding "Arc" to the "chromium_variants" line in run_bookmarklet.js but after doing so, the workflow wasn't pulling up the Add Bookmark overlay.


That is because despite being based on Chromium, Arc’s dictionary is different due to their “spaces” functionality. If they used the same dictionary, it would have been a no-brainer.

  • 4 weeks later...
Posted

I must have some conflicting installation or workflow, but this seems to have stopped working for me? I see the bookmarks, but I can't open or assign modifier keys. I deleted and reinstalled (v2023.2 from the Gallery). Any suggestions? Thanks!

Posted

thanks @vitor, fn+↩ didn't work either, but I deleted the json in the cache and now it works. 

thanks for your prompt help!

 

PS: perhaps you meant these two below in the description without the ↩? 

• ⌥↩: View Tags.
• ⌃↩: View Description.

 

 

Posted
39 minutes ago, giovanni said:

PS: perhaps you meant these two below in the description without the ↩? 

 

Indeed, thank you. Sorted in the latest version, which will be live shortly. I’ve also switched the cache rebuilding shortcut to ⌘⌥⌃↩ since (in another workflow) people mentioned how fn is inaccessible on some external keyboards.

  • 4 weeks later...
Posted
On 5/26/2023 at 9:41 PM, vitor said:

Add support for Arc.

 

Lovely! Thanks for this Vitor.

 

Is there any chance to open the new tab as a pop-up in Arc, like in Chrome?

  • 2 months later...
  • 2 months later...
Posted

Hello @vitor
Suddenly it's not working with Arc anymore.

Here the debug log:

 

[12:38:15.147] Pin Plus[Keyword] Processing complete
[12:38:15.153] Pin Plus[Keyword] Passing output '' to Automation Task
[12:38:15.155] Pin Plus[Automation Task] Running task 'Run JavaScript in Front Browser Tab' with no arguments
[12:38:15.380] ERROR: Pin Plus[Automation Task] Task Error: intel/get-frontmost-browser.swift:32: Fatal error: Did not find a supported web browser
../../../../com.alfredapp.automation.core/safari/.common/tabs-current-run-javascript: execution error: Error: Did not find a supported web browser (-2700)

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...