Wiki source code of Werkzeuge
Last modified by Sabrina V. on 2026/08/27 08:24
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{aagon.floatingbox/}} | ||
| 2 | |||
| 3 | = Manage Global Variables = | ||
| 4 | |||
| 5 | Clicking the Manage Global Variables icon opens a window where you can manage global variables. This includes //deleting//, //adding//, and //changing default values//. | ||
| 6 | |||
| 7 | |||
| 8 | [[Manage Global Variables>>image:XWiki.Images.WebHome@hmfile_hash_976dd280.png||alt="5.3.5 - GlobaleVariablen" data-xwiki-image-style-alignment="center" height="589" width="666"]] | ||
| 9 | |||
| 10 | Global variables are handled in the same way as simple variables. For more information on simple variables, see the chapter [[Variables>>doc:ACMP.610.ACMP-Solutions.Desktop Automation.Client Commands.Client Command erstellen.Client Commands neu hinzufügen.Client Command Editor.Menüleiste.WebHome]]. | ||
| 11 | |||
| 12 | = Functions = | ||
| 13 | |||
| 14 | 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. | ||
| 15 | |||
| 16 | To create a function, select //Client Commands > Create > Tools > Functions// from the ribbon bar. | ||
| 17 | |||
| 18 | The window that opens displays all existing functions. Here, you can generally add, delete, or export your functions. | ||
| 19 | |||
| 20 | (% style="width:791px" %) | ||
| 21 | |(% style="width:123px" %)((( | ||
| 22 | [[image:ACMP.63.ACMP-Solutions.Client-Management.Abfrageverwaltung.Abfragen auswerten.WebHome@refreshall.png||alt="RefreshAll" data-xwiki-image-style-alignment="center" height="22" width="22"]] | ||
| 23 | )))|(% style="width:664px" %)((( | ||
| 24 | Refreshes the view | ||
| 25 | ))) | ||
| 26 | |(% style="width:123px" %)((( | ||
| 27 | [[image:XWiki.Images.WebHome@delete.png||alt="Delete" data-xwiki-image-style-alignment="center" height="22" width="22"]] | ||
| 28 | )))|(% style="width:664px" %)((( | ||
| 29 | Deletes the selected functions | ||
| 30 | ))) | ||
| 31 | |(% style="width:123px" %)((( | ||
| 32 | [[image:XWiki.Images.WebHome@function_add.png||alt="Function_Add" data-xwiki-image-style-alignment="center" height="22" width="22"]] | ||
| 33 | )))|(% style="width:664px" %)((( | ||
| 34 | Creates a new function | ||
| 35 | ))) | ||
| 36 | |(% style="width:123px" %)((( | ||
| 37 | [[image:ACMP.63.First Steps im ACMP.Aufbau der Console.Ribbonleiste.Stammdaten.WebHome@folder_add.png||alt="Folder_Add" data-xwiki-image-style-alignment="center" height="21" width="21"]] | ||
| 38 | )))|(% style="width:664px" %)((( | ||
| 39 | Creates a new folder | ||
| 40 | ))) | ||
| 41 | |(% style="width:123px" %)((( | ||
| 42 | [[image:XWiki.Images.WebHome@tree_viewaslist.png||alt="Tree_ViewAsList" data-xwiki-image-style-alignment="center" height="21" width="21"]] | ||
| 43 | )))|(% style="width:664px" %)((( | ||
| 44 | Displays the functions as a list or in the standard tree view | ||
| 45 | ))) | ||
| 46 | |(% style="width:123px" %)((( | ||
| 47 | [[image:ACMP.63.First Steps im ACMP.Aufbau der Console.Ribbonleiste.Stammdaten.WebHome@import.png||alt="Import" data-xwiki-image-style-alignment="center" height="24" width="24"]] | ||
| 48 | )))|(% style="width:664px" %)((( | ||
| 49 | Importes a function | ||
| 50 | ))) | ||
| 51 | |(% style="width:123px" %)((( | ||
| 52 | [[image:XWiki.Images.WebHome@folder_import.png||alt="Folder_Import" data-xwiki-image-style-alignment="center" height="20" width="20"]] | ||
| 53 | )))|(% style="width:664px" %)((( | ||
| 54 | Importes all functions under a specified path | ||
| 55 | ))) | ||
| 56 | |(% style="width:123px" %)((( | ||
| 57 | [[image:XWiki.Images.WebHome@export.png||alt="Export" data-xwiki-image-style-alignment="center" height="26" width="26"]] | ||
| 58 | )))|(% style="width:664px" %)((( | ||
| 59 | Exports all functions within a selected folder | ||
| 60 | ))) | ||
| 61 | |(% style="width:123px" %)((( | ||
| 62 | [[image:XWiki.Images.WebHome@function_view.png||alt="Function_View" data-xwiki-image-style-alignment="center" height="32" width="32"]] | ||
| 63 | )))|(% style="width:664px" %)((( | ||
| 64 | Displays the selected function in read-only mode | ||
| 65 | ))) | ||
| 66 | |||
| 67 | [[Manage functions>>image:Wizard_Funktionen_6.10.png]] | ||
| 68 | |||
| 69 | (% class="wikigeneratedid" %) | ||
| 70 | Click [[image:1786367680487-797.png]] to create a new function. An editor similar to the Client Command Editor will open. | ||
| 71 | |||
| 72 | (% class="wikigeneratedid" %) | ||
| 73 | There is no distinction here between client and Console Scripts, so all commands are available here. | ||
| 74 | |||
| 75 | (% class="wikigeneratedid" %) | ||
| 76 | There, assemble the commands and logic required for the function and save the command by clicking [[image:1786367680489-459.png]]. The function will then be displayed in the list of available functions. | ||
| 77 | |||
| 78 | {{aagon.infobox}} | ||
| 79 | If the function is to return a value, use the command “[[Set function result>>doc:ACMP.610.ACMP-Solutions.Desktop Automation.Client Commands.Client Command erstellen.Client Commands neu hinzufügen.Client Command Editor.Commandlist.Functions.WebHome||anchor="Setfunctionresult"]]”. 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. | ||
| 80 | {{/aagon.infobox}} | ||
| 81 | |||
| 82 | (% class="wikigeneratedid" %) | ||
| 83 | To call a function in a Client Command, use the command “[[Execute function>>doc:ACMP.610.ACMP-Solutions.Desktop Automation.Client Commands.Client Command erstellen.Client Commands neu hinzufügen.Client Command Editor.Commandlist.Functions.WebHome||anchor="HExecuteFunction"]]” 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. | ||
| 84 | |||
| 85 | {{aagon.infobox}} | ||
| 86 | Functions cannot be versioned. | ||
| 87 | {{/aagon.infobox}} | ||
| 88 | |||
| 89 | {{aagon.infobox}} | ||
| 90 | 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. | ||
| 91 | {{/aagon.infobox}} | ||
| 92 | |||
| 93 | = Copying acmp AutoMATE = | ||
| 94 | |||
| 95 | 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. | ||
| 96 | |||
| 97 | You can learn exactly how to create and use AutoMATE scripts in the chapter [[Using AutoMATE>>doc:.AutoMATE anwenden.WebHome]]. |

