quicksilver / GoogleChrome-qsplugin

Quicksilver Google Chrome plugin
17 stars 3 forks source link

Sort "Open Web Pages" by most recently active tab #21

Open sinewave opened 11 years ago

sinewave commented 11 years ago

Hi,

I have a trigger setup for Google Chrome > Open Web Pages and it would be really great if the web pages could be sorted by most recently active?

Thx

ndreas commented 11 years ago

There is no way in Chrome's scripting bridge interface to get windows or tabs sorted by their active order. The only thing I can do is to put the current active tab in each window first in the list, but I don't think that would be of much use. The currently active tab in the frontmost window is available as the "Current Web Page (Chrome)" object.

What exactly is your workflow here? What are you trying to achieve?

sinewave commented 11 years ago

Hey Andreas,

I have a chrome plugin called MRU (most recently used) tab which when activated shows you a list of all your open tabs listed by mru. I have found it extremely useful when browsing the web as often times when researching something or when i have a bunch of temporary tabs open i might not know the title or the url of the tab but i do know that i have used in recently so i could just invoke the plugin and visually browse the top 5 tabs. Similar to your plugin it also allows you to search open tabs. However this plugin has become a little unstable and the bigger drawback obviously is that it only works within chrome.

This is why i am so excited by your plugin and would love to have this functionality. Not sure if this plugin is using some built in chrome functionality but it would be really cool if you could somehow emulate this in your plugin.

Tony

On July 5, 2013 at 8:57:55 AM, Andreas Johansson (notifications@github.com) wrote: There is no way in Chrome's scripting bridge interface to get windows or tabs sorted by their active order. The only thing I can do is to put the current active tab in each window first in the list, but I don't think that would be of much use. The currently active tab in the frontmost window is available as the "Current Web Page (Chrome)" object.

What exactly is your workflow here? What are you trying to achieve?

— Reply to this email directly or view it on GitHub.

ndreas commented 11 years ago

Doing that kind of functionality from within Chrome is fairly easy. Unfortunately, when building QS plugins, I have to work with the external interface, namely the one used when writing AppleScripts. That interface is quite limited in functionality, and there is nothing in there which can access data from the extensions of Chrome.