Ask Gemini+
Gemini Chat Dialog for Directory Opus
Upgraded version of Ask Gemini (so different it warrants a post of it's own)
This does 'conversations' (chats).
In other words it uses previous requests and responses as context for the current request.
It is not multi-modal. Just a simple and useful Directory Opus AI chatbot dialog.
-
API Integration : Connects to the Google Generative Language API - requires an API key (configured in script settings or via environment variable (see below on how to get one)
-
Model Selection System* : Select a model from a list.
*fetches a maintained list of currently available Gemini models. Filtered to show the ones that can be used for free. -
Two response modes : Responses can be viewed as simple Markup or as Editable text.*
*The edited text will be used as context for subsequent requests. -
Browser Buttons: A selection of browser buttons (A reduced set of those found in Search+)
Google Search AI (Gemini does not accept prompts through URL injection)
Claude
Perplexity
Grok
Chat G P T (Discource is blanking out the proper spelling of this word ??)
Amazon Shopping
eBay
AliExpress
Etsy -
Requests and Responses can be saved and restored.
-
The Dialog is re-sizeable
-
Keys
Esc Clear Request box
F12 Send current request to Gemini
F11 Switch response view/edit mode -
Minimum Directory Opus Version is 13.22
Please note:
AI-generated responses are not guaranteed to be correct, complete, or up to date. Use with human review. Responses are generated by a language model and reflect patterns in data, not guaranteed truth.
To get a Google Generative Language API key (often referred to as a Gemini API key), the fastest route is through Google AI Studio.
- Go to https://aistudio.google.com/
- Log in with your Google account.
- Click on the "Get API key" button located in the left-hand sidebar.
- Click "Create API key".
You will be prompted to either create a new Google Cloud project or select an existing one.
Once selected, your key will be generated. - Copy the string of characters immediately. For security, do not share this publicly.
- Paste the key into the script config called Google API key
- Alternately, create an environment variable called "GOOGLE_API_KEY" (type "env" into windows taskbar search and select "Edit environment variables for your account")
This code is provided "as is", without warranty of any kind, express or implied. The author is not responsible for any damages or data loss resulting from its use.
Many thanks to @errante for sharing TagMaster from where the idea for this script came from
Installation
Drag & Drop the script file into the Script Management dialog.Use command AskGemini+ to invoke, usually from a button.
(I have also bound to F1 as a Global HotKey, because it is so useful)
see How to use buttons and scripts from this forum
V2.0
Ask Gemini+.opusscriptinstall (212.1 KB)
Enjoy ![]()




