VSCode integration stopped working

Hello there,

it seems that Hookmark stopped working for me with VSCode.
I went through No Linkable Item in … – Hookmark without avail.

Any help much appreciated.

  • Hookmark Version 6.10 (setapp)
  • VSCode
    • Version: 1.103.0 (Universal)
    • Commit: e3550cfac4b63ca4eafca7b601f0d2885817fd1f
    • Date: 2025-08-06T21:40:10.271Z
    • Electron: 37.2.3
    • ElectronBuildId: 12035395
    • Chromium: 138.0.7204.100
    • Node.js: 22.17.0
    • V8: 13.8.500258-electron.0
    • OS: Darwin arm64 23.6.0

Thank you for reporting this issue, @LFSaw .

We have updated the script server with the fix for this issue, script version 376.

Could you please update your Hookmark script and see if the issue is fixed (Hookmark preference window->Update->Check now)?

Thank you

Thanks for looking into this.
I am now on
Hookmark Pro version 6.9 (6231) (Scripts version 376).
and Hookmark did again ask through the OS for accessibility permission.
However the problem persists.

Is there any error message? Could you please post the screenshot of Hookmark window?

Thank you

No error message, just this:

Thank you, @LFSaw .

Could you please open a VSCode file and run the following code in /Applications/Utilities/Script Editor? Then post the result here.

tell application "System Events"
	tell process "Code"
		set str to name of window 1
		set AppleScript's text item delimiters to " — "
		set theResults to text items of str
		return item 1 of theResults
		
	end tell
end tell

Thank you

works…

Thank you, @LFSaw .

Could you please try the following script in Script Editor?

tell application "System Events"
	tell process "Code"
		set str to name of window 1
	end tell
end tell

works as well and returns

"_index.md — hugo-2024"

Could you please open VSCode settings window, change window.title settings? Change activeEditorShort to activeEditorLong

this fixed it! insane.

however, now my window title is all cobbled up…

For now, Hookmark can only get the file path from window title.

thanks for your efforts!
I am just wondering because I never (intentionally) changed the setting in VSCode and do not recall the window title to be as bloated as it is now…

Anyhow, I think I can live with it :slight_smile: