open file with application

Andre Garzia andre at andregarzia.com
Mon Oct 15 09:26:59 EDT 2007


Richmond,

I use something like this

on openWithApp pApp, pFilePath
  get format("open -a %s %s", pApp, pFilePath)
  get shell(it)
end openWithApp

pass the file path to open and the application name.

works for MacOS X only.

cheers
andre



More information about the use-livecode mailing list