5 Replies Latest reply on Sep 10, 2009 6:33 AM by Tols (UK)

    How to Reveal in Finder or simply Open the folder on Mac

    Tols (UK)

      I'm sure this is possible but I feel you need to know more about shell commands on a mac than I do!

       

      so can anyone fill in the blanks?

       

      on revealfile filename

        if the platform contains "win" then

          err= bashell("open","explorer.exe",  "/select, " & filename, "", "normal")

        else

       

       

        end if

        return err

      end

       

      on openfolder foldername

        if the platform contains "win" then

          err= baShell( "open", plat(getosdirectory() & ":explorer.exe"), foldername, "", "normal" )

        else

       

       

       

        end if

        return err

      end

      many thanks