Launch File Action

image\Action_Launch_File.jpg

This action allows you to start running a separate program (e.g. a Spreadsheet) or another Creator publication.

Setting up the Launch File action:

  1. Add the Launch File action to your trigger, as described in adding actions. The Launch File tab will automatically appear when you add the action.

  2. In Launch this file option, enter the program or file you wish to launch. Use the Browse… button to locate the file you want to launch or type the path into the box provided.

  3. If the program you are launching accepts a run-time parameter you can pass that to the program by typing it into the with option/parameter… box provided.

Note:
This option is most often used to give the program a file to open or by setting options it will start with.

You can also use the Launch File action to open another Creator EXE publication and pass information to it, such as the specific page you want to display in the launched publication – see Passing Parameters for more information.

  1. Use the This file will be found at this location option to set the pathname to the file when your publication is published. Click on the Insert Variable button if you want to generate a pathname using System or User variables as part of the pathname.

  2. Use the Close the publication once this program is running option if you want the current publication to shut down when the specified file is launched. By default this checkbox is not ticked.

  3. Alternatively you can use the Store File in Publication option to tell Opus you want to embed the launched file into your final EXE by selecting it via the Additional Files button. This ensures the document is distributed with the publication and that Opus knows where it is, as it will decompress it to a temporary location when required and delete it again afterwards. This can also be useful to keep private documents a little more secure. You can also use the Additional Files button to embed any files the launched document needs to accompany it.

Note:
This option only applies to EXE format publications and is not available for online, Flash or HTML5 publications.

6. Click on the Apply button to save your changes.

Note:
Obviously, your publication will need to know where to find this program when it runs on your user’s system, so Creator automatically saves the file into the Publication Directory for this publication.

Related Topics:

the Launch Web Page action

Choosing an Action

Passing Parameters to Launched Files