DriveWorks Pro 15: Specification Macros [send feedback...]

Specification Macros

Specification Macros can be applied to macro buttons on the user form to run set tasks that can have parameters passed into them using rules.

Timeout Period

Looping or nested Macros in DriveWorks have an inbuilt timer that will ask the user whether to continue or stop the execution of the looping macro after 20 seconds.

Nesting Macros

Macros can be nested (make calls to other macros from within a macro). A maximum depth of 200 nested macros can be included within a macro.

Create a Specification Macro

To create a specification macro open the project it is to be applied to in DriveWorks Administrator and :

  1. Select Specification Macros from the task explorer
  2. Click Add to add a new macro
  3. Enter a name for the macro
  4. Click OK
  5. The Task Editor dialog will launch.

Edit a Specification Macro

To edit a specification macro, go to the Specification Macros task in the specification explorer and :

  1. Select the macro from the Specification Macros window
  2. Click the Edit button from the DriveWorks command bar
  3. The Edit Tasks dialog will launch. (See Tasks below)

Rename a Specification Macro

To Rename a specification macro, go to the Specification Macros task in the specification explorer and :

  1. Select the macro from the Specification Macros window
  2. Click the Rename button from the DriveWorks command bar
  3. The Name field of the macro will become active allowing the macro to be renamed

Delete a Specification Macro

To edit a specification macro, go to the Specification Macros task in the specification explorer and :

  1. Select the macro from the Specification Macros window
  2. Click the Delete button from the DriveWorks command bar

Copy/Paste Specification Macros

Specification Macros can be copied and pasted within the same project or across projects.

  1. From DriveWorks Administrator open the Project that contains the Specification Macro to be copied.
  2. Select Specification Macros from the Task Explorer.
  3. Locate and select the Specification Macro to be copied from the Specification Macros list.
  4. Click the Copy button from the command bar.
  5. Open the Project where the Specification Macro is to be copied.
    Launch another session of DriveWorks Administrator and have the Source project open in one, and the destination project open in the other. Both groups can be viewed side by side on your screen.
  6. Select Specification Macro from the Task Explorer.
  7. Click the Paste button from the command bar.
    When the name of a copied Specification Macro already exists in the destination group, the name will be suffixed with an incremental number.

Categories

Specification Macros can be placed within categories.

  1. Click Add Category button from the command bar.
  2. Enter a name for the category and click OK.

    The category will be added under the Categories heading in the Macros column.

Adding Macros to a Category

Macros are added to a category by:

  • Selecting the category and clicking Add to add a new macro to the category
  • Selecting an existing macro and dragging it to the required category

DriveWorks Quick Tips

DriveWorks Quick Tips: Export to Table

Almost every company runs off a database of some sort. Those databases need to be populated with new information as it is received. DriveWorks can build up databases quickly and easily by using the Export to Simple Table document.

DriveWorks Quick Tips are a series of 1 minute videos, available on YouTube, that explain specific functionality. View all Quick Tips

DriveWorks Tech Tips Portal

Shopping Basket

The project allows a customer to select from a range of products and specify a quantity. This is exported to a Simple Table and then used to create a summary from where customers can see their selections, and remove an item if desired, before checking out.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to https://hub.driveworks.co.uk/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.

Table of Contents