Trello app still not supported by Hookmark?

Hey,

I’m using the Trello app Version 2.14.15-706 on a Mac Studio (Mac13,1 - 2022 - Apple M1 Max - 64 GB RAM) running macOS Ventura Version 13.6.3.

I’ve read all the threads related to the Trello app (the last one from November 2022).

It looks like there is no progress related to this: Hookmark delivers something like

when copying a card from the Trello app.

Would it be possible to integrate Hookmark with the Trello app instead?

Thanks!

Regards,
Vlad

Welcome to Hookmark forum, @VladGhitulescu .

Sorry this post fell through the cracks.

Hookmark get a Trello card’s url from Trello ->Edit->Copy Current URL, with keyboard shortcut option+command+c. Could you please check if you can copy the URL on your mac?

Thank you

Hey

no problem.

The copied URL (from the Trello App)

https://trello.com/c/nRz6BsDO/16-schicke-vlad-eine-seitenbeschreibung-in-max-60-zeichen-f%C3%BCr-jede-seite-unabh%C3%A4ngig-auf-welcher-ebene-in-der-seitenstruktur

leeds to Trello in the browser:

Regards,
Vlad

Could you please copy and paste the following script into Hookmark preferences window->Scripts->Trello->Get Address, and click on Save button? See if it works?

Get Address Script
set the clipboard to ""
delay 0.1

tell application "System Events" to tell process "Trello"
	keystroke "c" using {option down, command down}
	delay 0.1
	repeat 20 times -- poll clipboard for ~2.5 seconds. Sometimes set x to teh clipboard throws exception
		try
			set theURL to the clipboard
			if theURL is not equal to "" then
				exit repeat
			end if
			keystroke "c" using {option down, command down}
			
		end try
		delay 0.1
	end repeat
	set theTitle to name of window 1
	set AppleScript's text item delimiters to {"/"}
	
end tell

set prevTIDs to text item delimiters of AppleScript
set text item delimiters of AppleScript to "/"
set reverseUrl to "" & reverse of text items of theURL
set text item delimiters of AppleScript to prevTIDs

set theOffset to offset of "/" in reverseUrl

if result is not 0 then
	set theOffset to (count (reverseUrl)) - theOffset
	set theURL to text 1 through theOffset of theURL
	set theURL to text 6 thru -1 of theURL
end if

return "[" & theTitle & "](trello" & theURL & ")"

Where is the script?!

got it now - it didn’t appear in the message

it works like a charm! Thank you very much @bchend !!!