Doble-click to open a data file
is it possible to implement a “doble click open file” behavior for an Omnis data file?
I know that on macOS is possible to associate a particular file type to an application (via the Info.plist), so when the user double clicks a file, the OS opens the associated applications.
Omnis does this with the library file. If i double click a library file, the OS lanches Omnis Studio and then Omnis Studio opens the library i double clicked.
I’ve managed to correctly associate a custom file type to a datafile created by my Omnis Runtime and then to associate the type to Omnis. So, when the user double clicks a datafile, the OS launches my customized version of Omnis. The problem is that, after the startup is completed, i have no information about the file that the user wanted to open. Does anyone if it is possible to recive some event with the file infos (the filepath is enough)
Log in to reply.