• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pages - save document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pages - save document


  • Subject: Re: Pages - save document
  • From: Robert Cerny <email@hidden>
  • Date: Tue, 6 Nov 2007 00:29:46 +0100


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@hidden
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
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Pages - save document (From: Robert Cerny <email@hidden>)
 >Re: Pages - save document (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: is part of Bundle?
  • Next by Date: Re: Can 10.4 apps be built with Obj-C 2.0?
  • Previous by thread: Re: Pages - save document
  • Next by thread: [ANN] NSOperation/NSOperationQueue tutorial
  • Index(es):
    • Date
    • Thread