brotab icon indicating copy to clipboard operation
brotab copied to clipboard

Opening a new window?

Open CRImier opened this issue 5 years ago • 1 comments

Hi! I'm making Python scripts using brotab (using the Python API), and I've already written some examples for automation purposes. I'll publish them soon and you can check them out =) EDIT: they're here https://github.com/CRImier/dudetab

One thing - would it be possible to (easily) add an API call to open a new window? I'm writing scripts to rearrange tabs in currently open windows and it'd be useful to be able to open a new window if there isn't a suitable one.

CRImier avatar Sep 08 '20 19:09 CRImier

+1

The current documentation for the "open" command says: "If window_id is not specified, URL will be opened in the active window of the specifed client."

I propose that it would be more useful to open URLs in a new window if no window_id is specified.

doctorcolossus avatar Jan 02 '22 08:01 doctorcolossus