We have cross-platform plans for this JavaScript implementation. The
Core object is the root of the built-in cross-platform object model offered
by the JavaScript OSA implementation.
| Method/Property |
Description |
| Core.version |
JavaScript for OSA's version string
|
| Core.copyright |
JavaScript for OSA's copyright notice
|
| Core.URL |
JavaScript for OSA's support URL
|
| Core.me |
a string containing a path to the application running
the script
|
| Core.home |
a string containing a path to the user's home folder
(the user's Desktop folder on the Mac)
|
| Core.temp |
a string containing a path to a folder where temporary
files are to be stored
|
| Core.platform |
The platform OS name: "MacOS", "MacOSX",
"Windows"
|
| Core.platformVersion |
The platform OS's version number
|
| Core.message(message) |
Display an informational message to the user
|
| Core.warning(message) |
Display a warning message to the user
|
| Core.error(message) |
Display an error message to the user
|
| Core.load(path) |
Load a JavaScript library from a text file. Information
describing how to prepare a JavaScript library is available on the
Using JavaScript Libraries page.
|