Tools

Last modified by Sabrina V. on 2026/08/27 08:24

Manage Global Variables

Clicking the Manage Global Variables icon opens a window where you can manage global variables. This includes deleting, adding, and changing default values.

5.3.5 - GlobaleVariablen

Manage Global Variables

Global variables are handled in the same way as simple variables. For more information on simple variables, see the chapter Variables.

Functions

Functions are globally reusable Client Commands that can be controlled via input parameters. They allow you to centrally define frequently used workflows and use them across multiple Client Commands. This provides an overview of Client Commands and reduces maintenance effort. Changes to a function need to be made in only one central location.

To create a function, select Client Commands > Create > Tools > Functions from the ribbon bar.

The window that opens displays all existing functions. Here, you can generally add, delete, or export your functions.

RefreshAll

Refreshes the view

Delete

Deletes the selected functions

Function_Add

Creates a new function

Folder_Add

Creates a new folder

Tree_ViewAsList

Displays the functions as a list or in the standard tree view

Import

Importes a function

Folder_Import

Importes all functions under a specified path

Export

Exports all functions within a selected folder

Function_View

Displays the selected function in read-only mode

Wizard_Funktionen_6.10.png

Manage functions

Click 1786367680487-797.png to create a new function. An editor similar to the Client Command Editor will open.

There is no distinction here between client and Console Scripts, so all commands are available here.

There, assemble the commands and logic required for the function and save the command by clicking 1786367680489-459.png. The function will then be displayed in the list of available functions.

Hinweis  Note:  

If the function is to return a value, use the  command “Set function result”. The value specified here is returned to the calling Client Command after the function is invoked and can be further processed there, for example, in variables or conditions.

To call a function in a Client Command, use the command “Execute function” in the Client Command Editor. Select the desired function and pass the required input parameters. If a return value has been defined, it will then be available in the calling Client Command for further processing.

Hinweis  Note:  

Functions cannot be versioned.

Hinweis  Note:  

Files and folders required by a function are currently not synchronized. They must therefore be reloaded from the ACMP Server each time the function is called. This can lead to additional network traffic and longer execution times. Therefore, functions that involve files and folders should be avoided whenever possible.

Copying acmp AutoMATE

acmp AutoMATE allows you to record actions on a Windows client. The recording can later be executed via acmp on managed network clients, allowing, for example, software installations to be performed automatically and unattended.

You can learn exactly how to create and use AutoMATE scripts in the chapter Using AutoMATE.

© Aagon GmbH 2026
Besuchen Sie unsere aagon-Community