For us it is very important (we are converting from a Filemaker-app) that we can launch a file, without hardcoding the program application in the method.
In the upper-link there has been spoken over Mime-type
Is it possible?
After investigating last time we concluded it is not possible (the model Sun provides does not have implemtors and default functionallity is close to non).
The best we could currently think of is making it possible to access the MS office web service to interact to at least office…
For us it is very important (we are converting from a Filemaker-app) that we can launch a file, without hardcoding the program application in the method.
In the upper-link there has been spoken over Mime-type
Is it possible?
Maybe this could be a workaround (I didn’t test it), but it only works on OSX (you have to do the same with a script language on Win):
if you can pass the file path into a text, maybe you could execute the text as an applescript with an “open” command attached to it.
For instance, if you use a shell script with open /Users/ric/Desktop/P516.pdf, the file opens with its default app.