![]() ![]() So now, how can I, for example, launch Finder at a given folder? Or how do I open a give file, let's say an mp3 file, with the default Mac application, rather than a (non-existent) wine-based application for that file type? Safari) applications, or wine-based applications, as the case may be. So it looks that the above can launch either guest-os-based (e.g. path to a text file) will launch the wine-based default applications for those file types, if any. On the other hand, passing other strings (e.g. In fact, even this will still succeed in launching Safari: ShellExecute(0, nil, 'www', nil, nil, 0) I suppose that's because Safari is the default application for handling URLs. I know that's possible because for example I can launch Safari with this line: ShellExecute(0, 'open', '', nil, nil, 0) I'd like to be able to launch Finder or other MacOS applications from within my program. I'm writing a Windows program and I run it on the Mac using wine (WineBottler)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |