# Multiple OmniFocus Windows

**URL:** <https://discourse.hookproductivity.com/t/multiple-omnifocus-windows/530>\
**Category:** Bug Reports\
**Created:** [July 10, 2019, 5:23pm UTC](https://discourse.hookproductivity.com/t/multiple-omnifocus-windows/530 "2019-07-10T17:23:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeMcLean](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/mikemclean/32/206_2.png) [@MikeMcLean](https://discourse.hookproductivity.com/u/MikeMcLean)\
**Post date:** [July 10, 2019, 5:23pm UTC](https://discourse.hookproductivity.com/t/multiple-omnifocus-windows/530/1 "2019-07-10T17:23:49Z")

</div>

When I activate hook an select Link to New → OmniFocus I get multiple new windows in OmniFocus. Specifically 2 “Inbox” windows open one right after the other.

I’ve not customized the Hook Script and cannot think of a reason why (looking at the script) it should open two windows.

Thoughts?

---

<div class="post-metadata">

**Author:** ![LucB](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/lucb/32/2228_2.png) [@LucB](https://discourse.hookproductivity.com/u/LucB)\
**Post date:** [July 10, 2019, 7:55pm UTC](https://discourse.hookproductivity.com/t/multiple-omnifocus-windows/530/2 "2019-07-10T19:55:36Z")

</div>

Welcome to the forum, @MikeMcLean. Sorry you’re experiencing an issue and thanks for raising it here.

I’ve tested with each combination of OmniFocus 3.3.2 (v123.20 r329826) and OmniFocus 3.4.1 (v128.9 r335353) and the current Version 1.0 (2552) and previous (beta) version of Hook. I could not replicate the issue. Both macs in my tests are running macOS 10.14.5

What version of OmniFocus and macOS are you using? To simplify and homogenize the testing, could you please ensure OmniFocus has a single window focused on the inbox for starters to see if that makes a difference?

thank you.

---

<div class="post-metadata">

**Author:** ![LucB](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/lucb/32/2228_2.png) [@LucB](https://discourse.hookproductivity.com/u/LucB)\
**Post date:** [July 10, 2019, 7:58pm UTC](https://discourse.hookproductivity.com/t/multiple-omnifocus-windows/530/3 "2019-07-10T19:58:41Z")

</div>

PS, in one set of tests, I started with over 10 OmniFocus windows open. In another I had just one OmniFocus window (focused on inbox).

---

<div class="post-metadata">

**Author:** ![MikeMcLean](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/mikemclean/32/206_2.png) [@MikeMcLean](https://discourse.hookproductivity.com/u/MikeMcLean)\
**Post date:** [July 29, 2019, 1:05am UTC](https://discourse.hookproductivity.com/t/multiple-omnifocus-windows/530/4 "2019-07-29T01:05:55Z")

</div>

FWIW - I had to replace my Mac and chose the clean rebuild option The behavior does not occur on the new device (though it continues on the old one).

---

<div class="post-metadata">

**Author:** ![LucB](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/lucb/32/2228_2.png) [@LucB](https://discourse.hookproductivity.com/u/LucB)\
**Post date:** [July 29, 2019, 2:18am UTC](https://discourse.hookproductivity.com/t/multiple-omnifocus-windows/530/5 "2019-07-29T02:18:50Z")

</div>

Perhaps OmniFocus’s “File → Rebuild Database” command would help on the old Mac. Just a guess – that command fixes some odd behavior.
