Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkHints.activateOpenUrl, background and queue #1122

Closed
anglimath opened this issue Apr 12, 2024 · 3 comments
Closed

LinkHints.activateOpenUrl, background and queue #1122

anglimath opened this issue Apr 12, 2024 · 3 comments

Comments

@anglimath
Copy link

The objective:

map xxx for the following purpose,
Open multiple urls in background tabs without simulating the click (in a queue).

I know one possible way to achieve this is

  1. map xxx LinkHints.activateOpenUrl reuse="new-bg",
  2. press alt to change to queue mode. (Message: Open multiple URLs directly)

However, how can I use a single key to achieve this? (not simulating a sequence of keys)

I have tested all possible combinations of the followings, none works exactly as expected
LinkHints.activateOpenUrl
LinkHints.activateWithQueue
mode="open-direct"
mode="queue"
reuse="new-bg"
mode="cur-queue"
...

Could you please give me some hints? Many thanks!

@anglimath
Copy link
Author

Also tried active=false, which doesn't work neither. To make the question description more accurate, the message would be (Message: Open multiple URLs directly), because this is the only way to make it work on "zhihu.com".

@gdh1995
Copy link
Owner

gdh1995 commented May 19, 2024

You may try:

map xxx LinkHints.activateOpenUrl reuse="new-bg" mode=62

But the usage of mode=<number> is not recommended, because the number may changes when I think it's necessary...

I'll add a new way to achieve this effect using mode=<string>.

@anglimath
Copy link
Author

Thanks! It works.

gdh1995 added a commit that referenced this issue May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants