Thank you for your quick reply.
Thank you for your thoughtful explanation.
I didn't expect the communication to be as good as it is now when I posted my question.
1.
I'm aware of what you said. I would expect the link to open directly to that location in the PDF, just like you said.
There is a slight difference between what I'm getting and what I want, and I'd like to explain.
1-1. When I click Copy
```text
MI involves not only particular skills, but also an underlying attitude, a particular state of mind and heart with which you engage in a helping rela- tionship.
```
1-2. If I clicked Copy Link
```text
[Motivational Interviewing.pdf, p. 6, Selection: MI involves not only particular...](bookends://sonnysoftware.com/selection/Libraries/163408/1701352927/22/54/127/2431/160)
```
The result of my script (Even the whitespace at the bottom is intentional; I use the output below by pasting it into Obsidian.)
```text
> MI involves not only specific skills, but also an underlying attitude, a particular state of mind and heart with which you engage in a helping rela- tionship.
[Motivational Interviewing.pdf, p. 6, Selection: MI involves not only particular...](bookends://sonnysoftware.com/selection/Libraries/163408/1701352927/22/54/127/2431/160)
```
If you look at the above, you'll notice that I've combined the "Copy" and "Copy Link" you're providing into the format I want.
As I understand it, the output of my script will be similar to the output you mentioned in the link below (but I don't know how I can use the functionality mentioned in the link below).
viewtopic.php?t=6065
2-1. it would be really, really best to be able to choose to show the popup itself, but if that's not possible, I'm very grateful to have the option via command.
2-2. how can I use the Copy Selection and Link feature, and is it possible to customize the format of this feature?
2-3. Not having a popup is not what I'm looking for, and if I can get the same result with my script, it would be best for me to use Bookend's built-in functionality for Copy Selection and Link.