Numbers always saves as flat file
Numbers always saves as flat file
- Subject: Numbers always saves as flat file
- From: Yvan KOENIG <email@hidden>
- Date: Sat, 4 Apr 2009 11:37:01 +0200
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.
Yvan KOENIG (from FRANCE samedi 4 avril 2009 11:36:49)
_______________________________________________
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