Getting the id for a missing linked bookmark (e.g. “hook://file/hJtiIWoYy?p=Lw==&n=(null)”) raises an error:
Error: no such object (e.g. specifier asked for the 3rd, but there are only 2) (errAENoSuchObject:-1728).
The Hook context window handles this gracefully as it can still access the name and path of the missing file (“Cannot locate file x”).
Can anyone suggest how the name and path properties can be accessed using AppleScript so a programmatic solution can be offered? Every method I have tried fails, because the Bookmark id/URL is invalid.