Save All/Selected Words...
Saves all usable/lexicon words, or only those selected, to a text file.
Save All/Selected Anagrams...
Saves all anagrams, or only those selected, to a text file.
Run Script...
Opens the standard file browser so you can run a selected Lua script. A number of sample scripts are provided in the Scripts folder. See the Lua Scripting help topic for more details.
Run Clipboard
Runs Lua code stored in the clipboard.
Run Recent
This submenu lets you run a recently executed script. The most recent script is always at the top.
Open Console
Opens the console window used to display output from a script. The window has a single button for stopping a script or running it again. Console text can be selected and copied to the clipboard. The console is opened automatically when you use one of the above menu items to run a script.
Show Files
If ticked then the contents of the application folder is displayed in a panel at the left of the main window. The panel's width can be changed by dragging the right border.
Clicking on a .lua file will open the console window and run the script. Clicking on a .html file will display it in the help window. Clicking on a .lex file, or on any text file without a .lua or .html extension, will load it in and make it the current lexicon. Note that you can also control-click or right-click on any text file to open it in your preferred text editor.
Preferences...
Opens the Preferences dialog so you can change various settings. All your settings are stored in a file called AgPrefs. This file is initially saved in a user-specific directory:
On Linux: | ~/.ag/ | |
On Mac: | ~/Library/Application Support/Ag/ | |
On Windows: | C:\Users\username\AppData\Roaming\Ag\ |
You might prefer to move AgPrefs into the same folder as the application. This allows multiple copies of Ag to have their own set of preferences.
Notes for Mac users: On the Mac, the Preferences item is in the application menu, not the File menu. On newer Macs the ~/Library folder might be invisible, so to get access to AgPrefs just use the "Go to Folder..." command in the Finder's Go menu and type in "~/Library/Application Support/Ag".