| Prev | Next | Script Verbs > script.getLanguage |
script.getLanguage
| Syntax |
script.getLanguage (addr)
|
| Params |
addr is the Object Database address of a script object.
|
| Action |
Determines the language setting of the specified script object.
|
| Returns |
A string indicating the name of the language.
|
| Examples |
script.getLanguage (@examples.counter) » "UserTalk"
script.getLanguage (@samples.performance.AppleScript1)
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
The language of a newly-created script object is always UserTalk. The value returned by this verb is the same string that you see displayed at the bottom of the script's window. If the scripting component corresponding to the script's language setting is unavailable, the empty string is returned.
|
| See Also |
script.setLanguage
|
| Prev | Next | Script Verbs > script.getLanguage |