Hi,

Fred Kiefer wrote:
This could be handled by openFile:withApplication: in the same class. What I 
don’t see is how you could use any of this mechanisms for command completion 
but that is another question.

the code looks for app bundles in standard locations () or analyzes the current directory typed in by the user. The code maybe not perfect, but appears to work. I added ".app" support. Probably it can benefit of at least partial caching. You can look at it, I opened a PR on my own branch, so we can collaborate on it.

I extracted a lot of code (without changing functionality) between "Run" and "OpenWith". This makes things clearer... however I found some differences which I want to understand, so that further duplication can be eliminated.

Riccardo

Reply via email to