application: String? = nil
Open given files.
You can pass a single path, or several paths as a string array. Paths should be obsolete.
application is a bundle identifier of the application in which files should be opened.
If absent, the default application will be used.
local homeDir = martax.getHomeDirectory() martax.openFiles(homeDir .. "/foo.txt", "com.apple.TextEdit")