Applescript: get path

Jonathan Lewis jonathan_lewis at mac.com
Wed Mar 26 21:30:00 PST 2003


Dear Brian,

Thanks as always for the quick and positive response. I'm making do 
with a "choose folder" at the moment. Good for the soul.

Jonathan


On 2003.3.27, at 09:19 AM, Brian C. wrote:

> 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
>
>
ジョナサン・ルイス

一橋大学 社会学研究科 助教授

186-8601東京都国立市中2-1
電話 042-580-8754

jonathan_lewis at mac.com
http://homepage.mac.com/jonathan_lewis/




More information about the OmniOutliner-Users mailing list