Applescript: get path

Brian C. dvorak at omnigroup.com
Wed Mar 26 16:20:01 PST 2003


This is indeed a bug and we'll have it fixed in our next release. The 
"path" property we added to items in 2.2 is colliding with the document 
property. Thanks for pointing that out, and sorry for the inconvenience.

Sincerely,

Brian C.
Support Manager
Omni Group


On Friday, March 21, 2003, at 01:19  AM, Jonathan Lewis wrote:

> An Applescript I'm writing needs to know the path to the currently 
> open OO file.
>
> OO's script dictionary shows three properties for the document class: 
> path, modified, and name.
>
> "Get name of document 1" returns the document's title as expected.
>
> "Get modified of document  1" returns true or false as expected.
>
> But "Get path of document 1" returns the error message 
> "NSCannotCreateScriptCommandError".
>
> What am I doing wrong? Any help much appreciated.
>
> Mac OS 10.2.4
> OmniOutliner 2.2(v55)
>
> Jonathan Lewis
>
> _______________________________________________
> OmniOutliner-Users mailing list
> OmniOutliner-Users at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/omnioutliner-users




More information about the OmniOutliner-Users mailing list