3 Replies Latest reply on May 20, 2009 4:42 AM by john beardsworth

    Calling default app in Mac

    john beardsworth Adobe Community Professional & MVP

      On the PC, this launches a file phoPath in that file type's default application - eg a NEF opens directly in Capture NX if it is the Windows default for NEF files:


      LrTasks.execute('"' .. phoPath .. '"')


      But it doesn't seem to work on Mac. LrShell.openFilesInApp is no use here because it needs the name of the target application, which I don't want to hard code (because the user may have set some other app as the default).


      Any thoughts? Can the SDK determine the Mac OS's default application for a file type? Or is there a way to get LrTasks to do the job?