Opens the file or folder at pathusing the default application.
- path : the OS level path to locate the file at. Paths are not internal FileMaker paths. You can get a sample of an OS path by using the SelectFile function.
- 1.3 :
- 4.0 : return error 3, command not available on iOS and Linux
- 4.0.2 : Renamed from BE_OpenFile
- There are some quirks to the way this function works on Mac OS: it sends an open request to the file, which is either able to be sent or not, and the response/error only reflects whether or not the request was sent. So for example if the file doesn't exist, you can get an error or if you don't have permissions to open it, you get an error. But whether the file actually opens or not is another thing, the OS will check things like apps for security and that can take some time. So whether or not the open is successful is different from whether or not the plugin tried to open the file. The two can be different, and the plugin only handles the sending of the open request, it doesn't poll to figure out if the open was successful or not. In technical terms, the two are asynchronous - meaning we get back the first "done and ok" response and would have to continuously query the OS to find out the final state. The plugin doesn't as yet do that.