Quote:
Originally Posted by odamizu
Hi Kevin,
Everything you wrote above the preceding four paragraphs went right over my head
If you're interested in my 2¢, I would say don't revert and violate proper spec/syntax for "open".
I'll stick with 2.7.6 until I feel the need to upgrade, at which time I will adapt
Thank you,
~oda
|
I will try a few things to see if I can figure out why BBEdit is not parsing its command line args when it is already opened.
Let me play around and see if I can come up with a some solution for Mac users of Sigil and BBEdit.
Update:
It seems when BBEdit.app (and any other Mac app that supports multiple main windows) is already running, it will only receive FileOpen Apple events and will no longer parse command line arguments.
This is a Mac thing, so it is not a bug in BBEdit.app.
But it is really next to impossible for Sigil to detect if you already have BBEdit open when you use Sigil's "Open With" so Sigil can not change how OpenWith is done dynamically.
That said Sigil's Open With uses the MacOS command line program called "open" and one of open's command line switches (-n) tells the Mac to always open a new version of the app so it will always process its arguments.
The Mac user will then see he/she/they have two instances of BBEdit in the Finder and both will have to be shutdown separately.
So I will play around and make a test build of Sigil with this change for you to play with and let me know if it helps or hurts.