GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Wildcard path in Opus function


I have an action for all ‘Images’ file type group: “Open in Photoshop”.

The problem is that Photoshop changes its path every once in a while:

  • “C:\Program Files\Adobe\Adobe Photoshop CC 2015\Photoshop.exe” {filepath}
  • “C:\Program Files\Adobe\Adobe Photoshop CC 2015.2\Photoshop.exe” {filepath}
  • “C:\Program Files\Adobe\Adobe Photoshop CC 2017\Photoshop.exe” {filepath}

and so on…

Is it possible to use wildcards in actions, so basically something like "Adobe Photoshop*\Photoshop.exe"?


Photoshop registers its install path, so you can use this:

{apppath|photoshop.exe}\photoshop.exe {filepath}

On my machine that turns into:

"C:\Program Files\Adobe\Adobe Photoshop CC 2017\Photoshop.exe" {filepath}

(Quotes are handled automatically by {apppath} as long as @nofilenamequoting isn’t specified.)


Yes! Thanks! This has been nagging me for a while and I always adjusted the path once a new version came out…

For reference I found this goodie: … _paths.htm


That’s very useful. I wonder if AutoCAD/3ds Max etc. also have a registered path also. Is there an easy way to find out?


It’s all here in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths


Typical! Thanks anyway. There must be a way to view the entries rather than edit them so time to Google.


Hi Leo, this page no longer displays correctly for me. This is what I see for your reply:

It’s the blue lines of invisible code that I am interested in.

Can anyone confirm this please? I have tested with Chrome and IE.