2 Replies Latest reply on Jun 14, 2017 11:16 AM by lindseym

    Script to open script workspace - Is this possible? YES

    lindseym

      Hello,

       

      What I am trying to create an object, that once clicked it opens up a specific script workspace so the person can make changes to the script without having to navigate to the script workspace and locate the script on their own.

       

      Is this possible? And if it is.... how would I go about doing it?

       

       

      Thanks!

      -L

       

      A little more research.. and I found this :

       

      FileMaker Pro 15 Help

       

       

      Open Script Workspace

      Purpose

      Opens the Script Workspace window.

      See also

      Format

      Open Script Workspace

      Options

      None.

      Compatibility

       

       

      Where the script step runs

       

      Supported

      FileMaker Pro

      Yes

      FileMaker Server

      No

      FileMaker Go

      No

      Custom Web Publishing

      No

      FileMaker WebDirect

      No

      Runtime solution

      No

      Originated in

      FileMaker Pro 6.0 or earlier

      Description

      This script step is the same as choosing Scripts menu > Script Workspace, or File menu > Manage > Scripts.

      Note  Once an Open Script Workspace step is performed, FileMaker Pro halts execution of the current script. This prevents unexpected conditions from occurring if the currently running script is edited.

      Example 1

      Displays a custom dialog box that asks if the user wants to manage the database's scripts, and opens the Script Workspace.

      Show Custom Dialog ["Do you want to manage database scripts?"]
      If [Get ( LastMessageChoice ) = 1]
      Open Script Workspace
      End If