# Reuse existing viewer window

**URL:** https://resource.dopus.com/t/reuse-existing-viewer-window/24944
**Category:** Help & Support
**Created:** [February 14, 2017, 10:22am UTC](https://resource.dopus.com/t/reuse-existing-viewer-window/24944 "2017-02-14T10:22:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Lezgus](https://resource.dopus.com/letter_avatar_proxy/v4/letter/l/ac91a4/32.png) [@Lezgus](https://resource.dopus.com/u/Lezgus)
#### Post date: [February 14, 2017, 10:22am UTC](https://resource.dopus.com/t/reuse-existing-viewer-window/24944/1 "2017-02-14T10:22:26Z")

</div>

Hello,

thank you for this script.

It is possible to use the script exactly the other way around.

What i mean i select a file in the DOpus Lister an the Viewer will show them imendently.

Now i have to click double with the mouse and an a new viewer window was open it.

Thank You

Grettigns  
Lezgus

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [February 14, 2017, 2:15pm UTC](https://resource.dopus.com/t/reuse-existing-viewer-window/24944/2 "2017-02-14T14:15:58Z")

</div>

> [@Viewer Select - Make file display track standalone viewer](https://resource.dopus.com/t/viewer-select-make-file-display-track-standalone-viewer/23320/7):
>
> What i mean i select a file in the DOpus Lister an the Viewer will show them imendently.
> 
> Now i have to click double with the mouse and an a new viewer window was open it.

Don't use the script as it is for the opposite of that.

Instead, turn on **Preferences / Viewer / Behavior / Reuse existing viewer window** and double-click as before.

(Or use the preview pane instead of the viewer, as that's designed to show the currently selected file in the lister.)

---

<div class="post-metadata">

### Author: ![Lezgus](https://resource.dopus.com/letter_avatar_proxy/v4/letter/l/ac91a4/32.png) [@Lezgus](https://resource.dopus.com/u/Lezgus)
#### Post date: [February 15, 2017, 6:26pm UTC](https://resource.dopus.com/t/reuse-existing-viewer-window/24944/3 "2017-02-15T18:26:23Z")

</div>

Hello Leo,

thank you for this tip.

I test it with pictures an it works good. With a double click the new picture will be open in the same viewer.  
But with other files (doc,pdf, ..) the linked program is started (ex.Adobe Reader)

I'm using two screens and i would like to reach (Opus Lister on Screen 1, Viewer on Screen 2) when i click (1x) or move cursor on a file it will be open in the viewer on screen 2.

When i use the preview pane instead the place will be to small in lister for long file names

I had now the hope that after the adaptation of the script could work. But im not good in scripting.

I hope you understand my bad englisch. sorry.

Many thanks

Greetings Lezgus

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [February 15, 2017, 6:30pm UTC](https://resource.dopus.com/t/reuse-existing-viewer-window/24944/4 "2017-02-15T18:30:38Z")

</div>

We don't make double-clicks on document files go to our standalone viewer by default, as people usually want that to open the files in Office or Acrobat or similar. By default, only the preview pane version of our view handles document types.

If you want double-clicks on those file types to open the standalone Opus viewer, go to **Settings \> File Types** , find the relevant types in the list, and set their **Left Double-Click** event to run the Opus **Show** command.

---

<div class="post-metadata">

### Author: ![Lezgus](https://resource.dopus.com/letter_avatar_proxy/v4/letter/l/ac91a4/32.png) [@Lezgus](https://resource.dopus.com/u/Lezgus)
#### Post date: [February 15, 2017, 7:17pm UTC](https://resource.dopus.com/t/reuse-existing-viewer-window/24944/5 "2017-02-15T19:17:21Z")

</div>

Hello Leo,

great.  
good idea.

Thank You

Greetings Lezgus
