Using a Batch File to Deploy the UI Using a Batch File to Deploy the UI You can use a Windows batch (.BAT) file to automate the process for launching the ACE software with the custom user interface. To create a batch file for starting the ACE software and loading the user interface form: 1. Open a plain text editor, such as Notepad. 2. Enter the batch file commands. 3. Save the file to the Windows Desktop. Make sure you use a .BAT file extension in place of the default .TXT file extension. For example, the following lines will: Load the ACE server with the specified workspace, load the ACE client, and open the specified user interface form.
The following example assumes your data files are stored in the folder C:\Data_files. echo off cd c:\program files\Omron\ACE\bin\ echo Starting ACE Server/Client and Workspace ace.exe client_server datafile="C:\Data_files\pick_place.awp" loadui="/User Interface Form" Using a Shortcut to Deploy the UI You can use a Windows Desktop shortcut to automate the process for launching the ACE software with the custom user interface. For more details on using a shortcut to start the ACE software, see Creating Short- cuts for Starting ACE on page 42. To create a shortcut for starting the ACE software and loading the user interface form: 1. Copy and paste the ACE desktop shortcut. 2.
Right-click on the copied shortcut and select Properties from the menu. 3. On the Shortcut tab, modify the Target field so it contains the additional commands for loading the specified workspace and the specified user interface form. ACE User's Guide, 3.6.x, 18316-000 Rev A Page 1085