# Enable an F9 Hotkey to open new editor tab, copy query and execute all at once

**URL:** <https://forums.toadworld.com/t/enable-an-f9-hotkey-to-open-new-editor-tab-copy-query-and-execute-all-at-once/46394>\
**Category:** Idea Pond\
**Created:** [May 1, 2019, 2:16pm UTC](https://forums.toadworld.com/t/enable-an-f9-hotkey-to-open-new-editor-tab-copy-query-and-execute-all-at-once/46394 "2019-05-01T14:16:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![george.torres](https://avatars.discourse-cdn.com/v4/letter/g/cc9497/32.png) [@george.torres](https://forums.toadworld.com/u/george.torres)\
**Post date:** [May 1, 2019, 2:16pm UTC](https://forums.toadworld.com/t/enable-an-f9-hotkey-to-open-new-editor-tab-copy-query-and-execute-all-at-once/46394/1 "2019-05-01T14:16:47Z")

</div>

ER to have Toad use a hotkey combo or other to automatically open a new SQL tab, execute and show data grid for different query in the same Editor.

One feature TOAD lacks is that the data grid gets replaced after a new query is run via editor (Shift + F9). It would help hugely if new data grid tab opens for every new query execution.

I see in the ToadWorld forums that it's not possible to get new data grid window for Script execution (F5); but it would be helpful to be able to run a hotkey combo for F9 to automatically open a new Editor Tab, copy the query, Execute and show data grid.

> [@Need an output window per query](https://forums.toadworld.com/t/need-an-output-window-per-query/44294/2):
>
> In Editor, If I highlight 2 queries (each query ending with a semi-colon) and press F5 (run as script), I get the output of each query in a separate grid.

That way we don't need to keep on opening new editor tabs, copy and paste, then execute for every query manually.
