db.get
| Syntax |
db.get (path)
|
| Params |
path is a valid UserTalk address string, indicating the location in Frontier's object database that contains information that you wish to retrieve.
|
| Action |
Retrieves the value of the item whose path is supplied and returns it.
|
| Returns |
The value of something stored in Frontier's object database.
|
| Examples |
db.get ("examples.age") » 38
db.get ("examples.haircolor")
db.get ("examples.picture")
|
| Notes |
This verb and its counterpart, db.set, are primarily of use to AppleScript script writers working in Frontier. In UserTalk, you can simply assign the value of an object database cell to a local variable in a script. Without db.get and db.set, you'd have to use a complicated "tell" statement in AppleScript to move information to and from the object database. Further, the script would break if the user changes the name of the Frontier application.
|
| See Also |
db.set
|