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.GetSaveToFile

Previous Top Next


MiniRobotLanguage (MRL)

 

AIG.GetSaveToFile
Retrieve the Current Save-To-File Path Setting

 

Intention

 

Retrieve the currently configured file path where the AI's response content will be automatically saved. If automatic saving is disabled, an empty string is returned.

 

What is the GetSaveToFile Command?

 

This Command returns the current value stored in the AIG_SaveToFile global variable. This value is set using the AIG.SetSaveToFile Command.

 

Why Do You Need It?

 

Use this Command to:

Check Configuration: Verify if automatic saving is enabled and to which file.

Debugging: Confirm the target file path if saved files are not appearing where expected.

 

How to Use

 

Call the Command, optionally providing a variable name (P1) to store the resulting file path string.

 

Example Usage

 

// Enable saving

AIG.SetSaveToFile|Output\Responses.log

 

// Retrieve the current setting

AIG.GetSaveToFile|$$SavePath

DBP. Current Save Path: @$$SavePath

// Output: Current Save Path: Output\Responses.log

 

Syntax

 

AIG.GetSaveToFile[|P1]

AIG.gsf[|P1]

 

Parameter Explanation

 

P1 - (Optional) The name of the variable (e.g., `$$MyVar`) where the retrieved file path string should be stored.

 

Remarks

 

- Returns the exact string stored in the AIG_SaveToFile global variable.

- An empty string indicates that automatic saving is currently disabled.

 

See also:

 

? AIG.SetSaveToFile

? AIG. Commands Overview