Drag & drop to applicaton in order to open with

Hi i have a brief question...I have assigned a couple of apps to buttons on toolbar. If i have a png and i want to open it with Photoshop I drag & drop it to button on toolbar..Then Photoshop launchs without opening the file...
Is there solution for this?

Yes, something like this:

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

This assumes the app lets you pass it a filename on the command line in the usual way. It works with most apps but not all of them.

PS: This button will also act on selected files when you click it. If you want it to launch the program without any files when clicked, and only launch it with files via drag & drop, then add @filesfromdroponly to the button on a line by itself*:

@filesfromdroponly "C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe" {filepath}

(*Click Advanced to make the button editor go into multi-line mode if it isn't already.)

For my Photoshop toolbar button, i am using this:

"/programfiles\Adobe\Adobe Photoshop CS4\Photoshop.exe" /N {allfilepath} 

If i highlight a file (.psd, jpg etc) then click the PS toolbar button it launches Photoshop with the the image opened. If Photoshop is already open with an image, it will open the image as a separate PS image.

Slightly different to leo's, but it works perfectly.

Yes, works like a charm thanks, I dont even have to drag it. Very nice. This application is all about prodictivity...Man i love it

By the way...How do I get familiar with these commands you guys use..I would like begin with a simple how to guide is there one on this in this forum?

Yeah Opus is brilliant, every time you think it's perfect.. You find new features that completely bowl you over in amazement.

A really good place to get started is all leo's signature links, i started from there. Another good tip, is always backup your config before trying whacky new tweaks just in case. :sunglasses:

And you will find a complete list of the Directory Opus 9 internal commands and parameters in the help file and online:
gpsoft.com.au/manual9/NetHel ... ummary.htm