| Prev | Next | Window Verbs > window.getFile |
window.getFile
| Syntax |
window.getFile (adr)
|
| Params |
adr is the address of a window or its name.
|
| Action |
Gets the file path to the specified window.
|
| Returns |
The file path.
|
| Examples |
window.getFile (@root) //path to Frontier.root » "Power HD:Applications:Frontier:Frontier.root"
window.getFile ("mainResponder.root") //path to a guest database
window.getFile (@["Power HD:Applications:Frontier:Nirvana Server:www:news.root"]) //gdb path
window.getFile (table.getRootAddress (@mainResponder.background.everyMinute)) //gdb path
|
| Notes |
With databases, this verb works with the top-level address. With objects inside the database, this verb returns "". Given any database address adr, you can get the path to the database it includes this way: window.getFile (table.getRootAddress (adr)).
|
| See Also |
Frontier.getFilePath
|
| Prev | Next | Window Verbs > window.getFile |