Drag to oXygen Dock icon (OS X) doesn't work

I'd appreciate some help from Mac users of oXygen. Why can I not drag .html files onto the oXygen Dock icon? I can drag .css files to it (possibly only since the 9.1 update), but not .html. francois -- francois@isotoma.com / Isotoma, Open Source Software Consulting Tel: 01904 567349 / Mobile: 07872 394273 / Fax: 020 79006980 Skype: fjordaan / http://www.isotoma.com Postal Address: Tower House, Fishergate, York, YO10 4UA, UK Registered in England. Company No 5171172. VAT GB843570325. Registered Office: 19a Goodge Street, London, W1T 2PH

I'd appreciate some help from Mac users of oXygen.
Why can I not drag .html files onto the oXygen Dock icon? I can drag .css files to it (possibly only since the 9.1 update), but not .html.
I cannot drag .html files either, but I can drag .xhtml files, so I suspect that changing things in either the "File Types" or perhaps the "Document Type Association" panes of the preferences would do the trick. HTH.

I cannot drag .html files either, but I can drag .xhtml files, so I suspect that changing things in either the "File Types" or perhaps the "Document Type Association" panes of the preferences would do the trick.
Nope, changing the "File Type" setting did not seem to work. This seems to be an OS-level thing. (Which, thinking about it, makes sense.) When I look at "Get Info" for a .html or .txt file, Finder does not even list oXygen as a possible application I can choose to open it. I'm guessing that my oXygen 9.1 has not told my Mac OS X 10.5.1 that it knows how to open .txt and .html files.

Hello, Yes, it is an OS level setting. A file is opened with an application when it is dragged and dropped onto the Dock icon of that application only if the Info.plist file of the application bundle includes the file extension in the extension enumeration in the CFBundleTypeExtensions key. You have to Ctrl + click on the oXygen icon in Finder, select Show Package Contents, go into the Contents folder, edit the Info.plist file and add the line <string>html</string> in the list of file extensions in the CFBundleTypeExtensions key, where the xml and xhtml extensions are specified. By default the html extension is not associated with oXygen in this way because generally HTML is not XML. Regards, Sorin syd@emt.wwp.brown.edu wrote:
I cannot drag .html files either, but I can drag .xhtml files, so I suspect that changing things in either the "File Types" or perhaps the "Document Type Association" panes of the preferences would do the trick.
Nope, changing the "File Type" setting did not seem to work. This seems to be an OS-level thing. (Which, thinking about it, makes sense.)
When I look at "Get Info" for a .html or .txt file, Finder does not even list oXygen as a possible application I can choose to open it. I'm guessing that my oXygen 9.1 has not told my Mac OS X 10.5.1 that it knows how to open .txt and .html files.

Thanks for the details, Sorin.
By default the html extension is not associated with oXygen in this way because generally HTML is not XML.
This makes good sense. What bothers me, though, is that oXygen doesn't think it can open text (.txt or no extension), Perl (.pl, .pm, .perl), shell-script (.sh, .bash) or lots of other files I know it can open. I'm guessing this is because the data in the Info.plist file also associates an icon, and perhaps a default application, with an extension, and y'all did not want to be so presumptive as to suggest that everyone would want their Perl programs, etc., to have an oXygen icon or open in oXygen by default. This also makes good sense. But I'm wondering -- is there any way to tell Mac OS X that it is OK to let oXygen open a file, even though it is not the default and does not have an oXygen icon? (Or have I completely misunderstood this stuff?) If I had my druthers, oXygen would only associate its icon and be the default application for .xsl, .fo, .xslfo, and .xslt files, but would be *able* to open almost anything that I explicitly drag on top of it or try to open via the Open dialog box. I am sure that other people have similar desires with different lists of file types. Thanks again.

Thanks for the details, Sorin.
By default the html extension is not associated with oXygen in this way because generally HTML is not XML.
This makes good sense. What bothers me, though, is that oXygen doesn't think it can open text (.txt or no extension), Perl (.pl, .pm, .perl), shell-script (.sh, .bash) or lots of other files I know it can open. I'm guessing this is because the data in the Info.plist file also associates an icon, and perhaps a default application, with an extension, and y'all did not want to be so presumptive as to suggest that everyone would want their Perl programs, etc., to have an oXygen icon or open in oXygen by default. This also makes good sense. But I'm wondering -- is there any way to tell Mac OS X that it is OK to let oXygen open a file, even though it is not the default and does not have an oXygen icon? (Or have I completely misunderstood this stuff?) If I had my druthers, oXygen would only associate its icon and be the default application for .xsl, .fo, .xslfo, and .xslt files, but would be *able* to open almost anything that I explicitly drag on top of it or try to open via the Open dialog box. I am sure that other people have similar desires with different lists of file types. Thanks again.

Hello Syd, syd@emt.wwp.brown.edu wrote:
But I'm wondering -- is there any way to tell Mac OS X that it is OK to let oXygen open a file, even though it is not the default and does not have an oXygen icon? (Or have I completely misunderstood this stuff?)
Command + click in Finder, select Open With -> Other, browse to the oXygen application bundle, check the option Always Open With of the Choose Application dialog.
If I had my druthers, oXygen would only associate its icon and be the default application for .xsl, .fo, .xslfo, and .xslt files, but would be *able* to open almost anything that I explicitly drag on top of it or try to open via the Open dialog box. I am sure that other people have similar desires with different lists of file types.
As far as I know a Mac application bundle accepts a file dropped on it only if that file type is associated with the bundle in the Info.plist of that bundle as the .xsl, .fo, .rng, etc. file types are associated currently with the oXygen application bundle.
Thanks again.
Regards, Sorin
participants (3)
-
Francois Jordaan
-
Sorin Ristache
-
syd@emt.wwp.brown.edu