> Am 04.07.2024 um 00:06 schrieb Riccardo Mottola <riccardo.mott...@libero.it>:
> 
> 
> Fred Kiefer wrote:
>>> is NSWorkspace's launchApplication the best answer?
>> Yes, to me this sounds like the right way to go.
> 
> indeed, it works for running. It didn't yesterday because of some stupid 
> mistake of mine.
> 
> However, GWorkspace has also "open with" where one wants to open certain 
> files wtih a certain application.
> So I can't just "open the file" because it would open the default one.
> I do need to give the file name parameter. is it possible?

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.

Cheers,
Fred


Reply via email to