Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Chrome Tabs doesnt activate the window that the tab is in #9

Open
sinewave opened this issue Jun 8, 2015 · 4 comments
Open

Chrome Tabs doesnt activate the window that the tab is in #9

sinewave opened this issue Jun 8, 2015 · 4 comments
Labels

Comments

@sinewave
Copy link

sinewave commented Jun 8, 2015

Hey,

Awesome actions btw!!

I was trying your Chrome tabs action and noticed that while it does select the specified tab in that window it doesn't actually activate or bring that window to the front which significantly reduces the usefulness of this action if you have more than one Chrome window.

Is there any way to add this functionality, similar to the Quicksilver Google Chrome plugin?

Tony

@hlissner
Copy link
Owner

hlissner commented Jun 8, 2015

Oh, I hadn't realized. Yes, I'll fix that in the next day or two.

@hlissner
Copy link
Owner

And done. Let me know if you have any trouble!

@sinewave
Copy link
Author

Hey, thx for fixing this.

Just tried it out and it's a lot better however i am still having some issues:

  • A lot of times (~60%) the window with the tab i want is not in the foreground however all Chrome windows are activated and focused.
  • LB doesnt hide after pressing return (similar to what spacebar does)
  • sometimes when pressing spacebar to activate the tab i get an error (awesome feature btw)

screen shot 2015-06-10 at 1 09 38 pm

Feature Requests :)

  • can you display the tab url under the name. I have the setting to "Show all subtitles" disabled however i have seen LB still shows the subtitle depending on the content being displayed. ie when browsing bookmark history.
  • Lastly, not sure if this is possible but is there any way to display the tabs in the order they were most recently used when first launching the action?

@hlissner hlissner reopened this Jun 11, 2015
@hlissner
Copy link
Owner

It's tricky. Chrome's applescript API won't let me raise the proper window into focus without swapping window indexes, and if I do that, unless you re-run the chrome tabs action anew everytime you use it, then selecting a new tab in the old results will mess things up.

can you display the tab url under the name

Sadly, unless you turn on subtitles the best I could do is append the url to the end of the title. The only actions that can override this are the ones Obdev built into launchbar (as far as I know).

is there any way to display the tabs in the order they were most recently used when first launching the action?

Sadly not. Chrome's applescript API is extremely limited.


I think the only way to implement your suggestions and provide a foolproof fix for the above is by creating an accompanying chrome extension to act as the middle man between the action and browser. I haven't done this before but I'll look into it.

@hlissner hlissner added the bug label Jan 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants