# Image Viewer Toolbar \> Button to Open w Default Association

**URL:** https://resource.dopus.com/t/image-viewer-toolbar-button-to-open-w-default-association/35805
**Category:** Help & Support
**Created:** [June 7, 2020, 8:18pm UTC](https://resource.dopus.com/t/image-viewer-toolbar-button-to-open-w-default-association/35805 "2020-06-07T20:18:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![matijaerceg](https://resource.dopus.com/user_avatar/resource.dopus.com/matijaerceg/32/35024_2.png) [@matijaerceg](https://resource.dopus.com/u/matijaerceg)
#### Post date: [June 7, 2020, 8:18pm UTC](https://resource.dopus.com/t/image-viewer-toolbar-button-to-open-w-default-association/35805/1 "2020-06-07T20:18:45Z")

</div>

![image](https://resource.dopus.com/uploads/default/original/3X/e/8/e8a379744defa3bb1ed88897e90532be3bd6bca3.png)

Would be cool if there was a button here (red circle above) which opens the current file with the system default app. The button could be labeled _Open with Default Program_, and have an icon that has an open folder and an arrow.

Perhaps I'm missing a quick way to do this already, but sometimes when I open an image with the DOpus viewer, I want to immediately open it in its system-associated app (eg. Photoshop). Currently, I have to close the viewer, and **Alt+Double Click** or right click and **Open With**...

Bonus suggestion: Add this functionality with a new item in the File menu of the viewer as well.

Bonus question: is there a way to add custom button currently to do this?

---

<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: [June 7, 2020, 8:37pm UTC](https://resource.dopus.com/t/image-viewer-toolbar-button-to-open-w-default-association/35805/2 "2020-06-07T20:37:22Z")

</div>

You can edit the viewer's toolbar and menus (and hotkeys) to do this.

The command you want for the buttons/menus/hotkeys will be one of these:

```nohighlight
FileType ACTION=shellex

```

```nohighlight
FileType ACTION=dblclk

```

(They usually have the same result, but work in slightly different ways. The first is more like double-clicking a file outside of Opus. The second is more like double-clicking a file within Opus.)
