FROM : Robert Cerny
DATE : Tue Nov 06 00:29:46 2007
On 5.11.2007, at 17:04, glenn andreas wrote:
>
> On Nov 5, 2007, at 9:50 AM, Robert Cerny wrote:
>
>> Hi folks,
>> I'm trying to save document into .doc format using scripting bridge
>> and get a crash which I can't resolve.
>>
>
> It appears to export a Word document, in AppleScript you'd just say
>
> save first document in POSIX file "/tmp/test.doc"
>
> If you try the "as" parameter you get an error. So I'm guessing the
> command would be:
>
> [temp saveIn:[NSURL URLWithString:@"/tmp/test.doc"]]
>
> (Or whatever the script bridge generates for the save method without
> the "as" part)
>
>
>
> Glenn Andreas <email_removed>
Hi,
thanks for your reply. I'm not sure I understand you well, but the
method description is:
- (void) saveAs:(NSString *)as in:(NSURL *)in_; // Save an object.
Robert
DATE : Tue Nov 06 00:29:46 2007
On 5.11.2007, at 17:04, glenn andreas wrote:
>
> On Nov 5, 2007, at 9:50 AM, Robert Cerny wrote:
>
>> Hi folks,
>> I'm trying to save document into .doc format using scripting bridge
>> and get a crash which I can't resolve.
>>
>
> It appears to export a Word document, in AppleScript you'd just say
>
> save first document in POSIX file "/tmp/test.doc"
>
> If you try the "as" parameter you get an error. So I'm guessing the
> command would be:
>
> [temp saveIn:[NSURL URLWithString:@"/tmp/test.doc"]]
>
> (Or whatever the script bridge generates for the save method without
> the "as" part)
>
>
>
> Glenn Andreas <email_removed>
Hi,
thanks for your reply. I'm not sure I understand you well, but the
method description is:
- (void) saveAs:(NSString *)as in:(NSURL *)in_; // Save an object.
Robert
| Related mails | Author | Date |
|---|---|---|
| Robert Cerny | Nov 5, 16:50 | |
| glenn andreas | Nov 5, 17:04 | |
| Robert Cerny | Nov 6, 00:29 |






Cocoa mail archive

