1 Reply Latest reply on Jun 28, 2013 8:46 AM by philmodjunk

    System Platforms

    AgnieszkaWynar

      Title

      System Platforms

      Post

           I wrote a script to send an email with a pdf attachement. It works on my computer that is a Windows. How do I make the script detect what System Platform it is using. So that when I put this program on a Mac it still works? In the pic you can see my script. Thanks!

      Send_Spec.png

        • 1. Re: System Platforms
          philmodjunk

               You shouldn't need to detect the platform.

               "file:" & Get ( DesktopPath ) & Model::ModelName & ".PDF"

               should work for both macs and windows so long as Model::ModelName is not empty and does not have any characters that can't be used in a file name.