3 Replies Latest reply on Sep 1, 2006 3:59 PM by Roofy

    open a cst file and launch Director

    Roofy
      Hi there all,
      I heard from the graet vine that it is possible to open another program with lingo, and I also notcied that if you double click a cst file in Windows Explorer, it will launch Director with the following cst file that you have double clicked on through windows explorer. However, is it possible for a projector to be able to do the same thing. For example, lets say a user is working on something in my projector movie. Then I would like for the user to be able to save the work, that would be in the cast member window, as a cst file, and be able to click on a button that would launch Director with the user's saved cst file. Is this possible? I know this might sound dumb, and you are probally wondering why a user would want to do this, but it is really hard to explain without giving you my great idea and then I would not be able to sell it because someone else might patten it before me. So you have to trust me that I believe that with my end result, many users will be so happy with my projector.
        • 1. Re: open a cst file and launch Director
          Level 7
          Yes, you can double click on an external cast and it will open in
          Director, if you have a copy. This is because the .cst file extension is
          related to Director in the registry.

          You can use the open command to open a file from a projector. If the
          file is not executable and needs an application to open it, then you
          need to specify the application to be used. This is an open... with ...
          command.

          Alternately you can use buddyAPI or fileXtra4 to find the application
          that has a particular file extension related to it.

          However, if the cast that you want to open in Director is currently in
          use in your projector, you may run into permission problems as well as
          others.

          If you want Director users to do something with your cast, then you may
          want to supply it as a library.

          --
          Rob
          _______
          Rob Dillon
          Adobe Community Expert
          http://www.ddg-designs.com
          412-243-9119

          http://www.macromedia.com/software/trial/
          • 2. Re: open a cst file and launch Director
            Level 7
            It's simple enough to do, but requires dabbling with the registry.
            I have an on-going project that saves cast files (with a different
            extension) and a double-click on one of these files will start my
            projector and have it load the selected file. Check 'the commandLine' or
            baCommandArgs() to obtain the file to load once you have registry
            settings organised.
            Check out: < http://director-online.com/buildArticle.php?id=1146>
            • 3. Re: open a cst file and launch Director
              Roofy Level 1
              Thanks guys. You save my day. Also, note to Sean...

              I tried going to the link you proived, but I get this error
              Fatal error: Call to undefined function: () in /home/doug/public_html/buildArticle.php on line 51