AIG. - AI Google Gemini Integration

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIG. - Google AI > 5. Configuration User, File & Clipboard >

AIG. - AI Google Gemini Integration

AIG.GetClipboardOutput

Previous Top Next


MiniRobotLanguage (MRL)

 

AIG.GetClipboardOutput
Retrieve the Current Clipboard Output Setting

 

Intention

 

Retrieve the current setting that determines whether the AI's response content is automatically copied to the system clipboard (1 for enabled, 0 for disabled).

 

What is the GetClipboardOutput Command?

 

This Command returns the current integer value (0 or 1) stored in the AIG_ClipboardOutput global variable. This value is set using the AIG.SetClipboardOutput Command.

 

Why Do You Need It?

 

Use this Command to:

Check Current State: Determine if automatic clipboard copying is currently active.

Conditional Logic: Adapt script behavior based on whether clipboard output is enabled or disabled.

 

How to Use

 

Call the Command, optionally providing a variable name (P1) to store the resulting integer value (0 or 1).

 

Example Usage

 

// Enable clipboard output

AIG.SetClipboardOutput|1

 

// Retrieve the current setting

AIG.GetClipboardOutput|$$ClipStatus

DBP. Clipboard Output Status: @$$ClipStatus

// Output: Clipboard Output Status: 1

 

Syntax

 

AIG.GetClipboardOutput[|P1]

AIG.gcb[|P1]

 

Parameter Explanation

 

P1 - (Optional) The name of the variable (e.g., `$$MyVar`) where the retrieved status (0 or 1) should be stored.

 

Remarks

 

- Returns the integer value (0 or 1) stored in the AIG_ClipboardOutput global variable.

 

See also:

 

? AIG.SetClipboardOutput

? AIG. Commands Overview