| Prev | Next | mainResponder Verbs > mainResponder.visitDatabases |
mainResponder.visitDatabases
| Syntax |
mainResponder.visitDatabases (callback)
|
| Params |
callback is the address of a script to be invoked for every database.
|
| Action |
Visits every GDB listed in user.databases plus index.root, discuss.root, members.root, and news.root.
|
| Returns |
True.
|
| Examples |
mainResponder.visitDatabases (@dialog.notify) » true
Displays the file paths of all open roots. |
| Notes |
The GDBs will only be visited if they are already open. Closed or non-existant GDBs will be ignored. callback must take a single parameter that can be coerced from a filespec type. No assumptions should be made about the order in which the GDBs are visited.
|
| See Also |
table.visitOpenDatabases
|
| Prev | Next | mainResponder Verbs > mainResponder.visitDatabases |