Define a C# Function as an Action in your Project

View Macro Recording in JSON Format

  1. Click the Source View JSON button in the UI.Vision plugin.
  2. Copy the resulting JSON format record.

Include Stringified JSON Data in a C# Function

  1. Assign stringified JSON data as a variable inside the C# function you created in your Kuika project:
string macroData = “stringified JSON data will go here”;
  1. You can organize the data according to your needs and manipulate the operations in it.

Define a C# Function as an Action

  1. Add a Button from the Elements panel in the UI Design module.
  2. Set the C# function you wrote as the onclick action of the button.
  3. Run the UI.Vision Macro: Call the Run UI Vision Macro function at the end of the function.
  4. Bind the Stringified Macro parameter to the Action Result of your C# function.

Once this is done, you can click a button in your Kuika project to trigger your UI.Vision macro and perform your automated actions. This structure provides a powerful automation solution, especially for easily managing repetitive browser operations.