Page 1 of 1
open file using D&D in Catalog
Posted: 12 Nov 2007 22:52
by graham
I have always previously used Drag and drop a tiff file to a Catalog program item (Photoshop.exe) successfully to open this type of file. Now PS gives a msg could not complete request as wrong sort of document.
Open With in WE works no problems
Open With from Right click on file works
Open With in UDC fails as above if mode set to single instance but works if multiple
Does this mean drag and drop is no longer an option?
Re: open file using D&D in Catalog
Posted: 12 Nov 2007 23:20
by jacky
graham wrote:I have always previously used Drag and drop a tiff file to a Catalog program item (Photoshop.exe) successfully to open this type of file. Now PS gives a msg could not complete request as wrong sort of document.
Open With in WE works no problems
Open With from Right click on file works
Open With in UDC fails as above if mode set to single instance but works if multiple
Does this mean drag and drop is no longer an option?
I don't know why this happens, but to fix it simply set your Catalog item to use multiple instance call (on Properties, under the new section Advanced). That should do it
Posted: 13 Nov 2007 02:00
by graham
Jacky wrote:
I don't know why this happens, but to fix it simply set your Catalog item to use multiple instance call (on Properties, under the new section Advanced). That should do it
Yes Thanks. I tend to forget the properties bit!
That said, I tried a variety of programs and in all but a few cases the workable option was for multiple instance. So, that being the case, should this be set as the default in the Properties

Posted: 13 Nov 2007 08:02
by admin
graham wrote:Jacky wrote:
I don't know why this happens, but to fix it simply set your Catalog item to use multiple instance call (on Properties, under the new section Advanced). That should do it
Yes Thanks. I tend to forget the properties bit!
That said, I tried a variety of programs and in all but a few cases the workable option was for multiple instance. So, that being the case, should this be set as the default in the Properties

Good question and hard to answer. The reason for the different behavior is this:
In single instance calls I just pass the file names without path and pass the pass the path as "default dir" (reason: keep the command line as short as possible). Photoshop cannot handle this, it always wants the files with full path, which is what it gets when I call multiple instances (reason: no need to keep command line short when just one file is passed).
So, yes, maybe multiple instance should be the default. This would guarantee that all apps can handle opening single files.
Or, I further complicate the interface (Catalog and UDC) by adding a new option "Pass files with full path" or so. Sigh...
Thanks for opinions!
Posted: 13 Nov 2007 08:48
by admin
Found a good solution. I simply check wheather stripping is necessary!
Code: Select all
* UDC, Catalog: now, items passed to a single instance of the
opening application are only stripped from the full path when the
command line otherwise would be too long (i.e. > 2 KB).