GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Wildcard path in Opus function


#1

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"?


#2

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.)


#3

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: gpsoft.com.au/help/opus11/i ... _paths.htm


#4

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?


#5

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


#6


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


#7

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.


#8

Fixed.