double-click from Finder doesn't open DITA files

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
steve_d
Posts: 5

double-click from Finder doesn't open DITA files

Fri Jan 27, 2017 7:44 pm

Hi

I've got Oxygen Author running on OS X Sierra, and - according to Finder - DITA files are associated with Oxygen Author

Here's the behavior I'm noticing

[Let's assume I've got two files on my desktop: file1.dita and file2.dita]

1. Oxygen Author is not running
2. I navigate to file1.dita in Finder and double-click it; Oxygen Author opens and loads file1.dita
3. When finished with file1.dita, I save and close THE FILE (Command+W), but leave Oxygen running
4. I go back to Finder and double click any DITA file (file1.dita or file2.dita)
5. Nothing happens
6. If I quit Oxygen at this point, it re-opens itself right away, and loads the second file from Step 4

ANOTHER SCENARIO:
1. Oxygen Author is not running
2. I navigate to file1.dita in Finder and double-click it; Oxygen Author opens and loads file1.dita
3. With file1.dita still open in Oxygen, I go back to Finder and double-click file2.dita. Nothing happens
4. If I quit Oxygen at this point, it re-opens itself right away, and loads both file1.dita and file2.dita

I know that Oxygen loaded multiple DITA files when dbl-clicking .dita files from Explorer in Windows, so am I missing a Preference setting or something?

It's probably worth mentioning that when Oxygen is running, I see a spinning gear icon in the menu bar... When I click it, I see "Oxygen XML Author, 0% completed (Run shell s...)" [the last part runs out of pop-up space, but presumably it says "Run shell script"]

thanks
Steve
adrian
Posts: 2443

Re: double-click from Finder doesn't open DITA files

Mon Jan 30, 2017 7:09 pm

Hi,

It's probably worth mentioning that when Oxygen is running, I see a spinning gear icon in the menu bar... When I click it, I see "Oxygen XML Author, 0% completed (Run shell s...)" [the last part runs out of pop-up space, but presumably it says "Run shell script"]
That would indicate that you have the files associated with the oxygenAuthorMac.sh (shell) startup script instead of the .app (Oxygen XML Author.app), as you should.
Check the instructions from the manual, Associating a File Extension with Oxygen XML Author
To associate a file extension with Oxygen XML Author on Mac OS:

1. In Finder, select a file and from the contextual menu select Get Info.
2. In the Open With subsection, select Other from the application combo box.
3. Browse to and select Oxygen XML Author.
4. Select the Always Open With option, then click Add.
After the last step mentioned there for the Mac, you should also press the "Change all..." button to apply the association on all files with that extension. You will be prompted to confirm the extension association.
Restart Oxygen and it should behave normally, files will be opened in the running Oxygen session when double clicking on them.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
steve_d
Posts: 5

Re: double-click from Finder doesn't open DITA files

Mon Jan 30, 2017 7:40 pm

thanks Adrian

I tried that [the default app was "Oxygen XML Author" already], but I followed the steps anyway

Any other ideas?

thx
adrian
Posts: 2443

Re: double-click from Finder doesn't open DITA files

Tue Jan 31, 2017 1:09 pm

Hi,

It appears there is an association of sorts that seems to come first, before the .app association. I'm not familiar with this so I'm trying to understand what's happening.

Do you still see the "Run shell s..." (script) popup message ?
Could you please send us (to support@oxygenxml.com) a screenshot with the app and the popup visible?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest