• 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: Numbers always saves as flat file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Numbers always saves as flat file


  • Subject: Re: Numbers always saves as flat file
  • From: Emmanuel Levy <email@hidden>
  • Date: Sat, 4 Apr 2009 13:44:22 +0200

At 11:37 AM +0200 4/4/09, Yvan KOENIG wrote:
Here is a simple script:

--[SCRIPT]
set p2d to path to desktop as text
set mameOfSpreadsheetAW6 to "GR_to_SS.cwk"

set SpreadsheetAW6 to p2d & mameOfSpreadsheetAW6

tell application "Numbers" to open file SpreadsheetAW6

tell application "Numbers"
	activate
	set nameOfSpreadsheetNumbers to name of document 1
	set spreadsheetNumbers to p2d & nameOfSpreadsheetNumbers
	save document nameOfSpreadsheetNumbers in spreadsheetNumbers
end tell
--[/SCRIPT]

"GR_to_SS.cwk" is an AppleWorks 6 spreadsheet.

I am unable to find a way to force Numbers to apply its preferences settings.
They are defined to save as Package but it saves always in the new format : flat file.


I tried to create a document before saving but it changes nothing.

It resembles to a bug but maybe I'm missing something.

If someone may give a way to save as package, I'm interested.

Just a guess, a package would have a specific extension, wouldn't it? What if you append the extension to the "in" parameter of the "save" command?


Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Numbers always saves as flat file (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Numbers always saves as flat file
  • Next by Date: Re: Parallel Processing in AppleScript
  • Previous by thread: Numbers always saves as flat file
  • Next by thread: QuickTime Player Window Index Problem
  • Index(es):
    • Date
    • Thread