fatPages.getPageData
| Syntax |
fatPages.getPageData (source, URL)
|
| Params |
source is either a string containing the text of a fat page, or nil, indicationg that this verb should get the fat page from the frontmost Web browser window URL is either the URL of this fat page or nil, indicationg that this verb should get the URL from the frontmost Web browser window
|
| Action |
If source is nil, this verb retrieves the fat page over the network from the specified URL. If source is a string, the fat page is extracted from it and the URL is used only for logging. Imports the Fat Page and loads it into the ODB, with user confirmation, and opens a window containing the object.
|
| Returns |
True
|
| Examples |
fatPages.getPageData (nil, nil) // extracts the fat page from the frontmost Web browser window » true
fatPages.getPageData (file.readWholeFile("C:\\Frontier\\sample.fatp"), "file:///C:/Frontier/sample.fatp") // gets a fat page from disk
|
| Errors |
An error will be generated if the specified source is not a valid Fat Page.
|
| Notes |
This verb is implemented as a script.
|
| See Also |
fatPages.getFromFile
|