Applescript: get path
Angus McIntyre
angus at pobox.com
Fri Mar 21 13:20:11 PST 2003
At 13:20 -0600 21.03.2003, Wayne Brissette wrote:
>I think there's a problem with the Path command in OO.
There almost certainly is. As you say, 'path of front document' (or
variants thereof) generates an error.
What's interesting is that if you do:
tell application "OmniOutliner"
properties of (front document as item)
end
the result returned from AppleScript is an associative array that
includes an entry for 'path' which is displayed - by Script Editor -
with the correct value. However, it's not possible to get the values
for any of the individual entries in the array without triggering an
error.
Angus
--
angus at pobox.com http://pobox.com/~angus
More information about the OmniOutliner-Users
mailing list