Re: Word 2008 script broken in Word 2011
Re: Word 2008 script broken in Word 2011
- Subject: Re: Word 2008 script broken in Word 2011
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 30 May 2013 10:03:56 -0700
- Thread-topic: Word 2008 script broken in Word 2011
Title: Re: Word 2008 script broken in Word 2011
On 5/29/13 11:23 PM, "Lists" <email@hidden> wrote:
The save line line changed. Go figure!
That's what I meant. They have changed the underlying «raw code» when they improved the function for saving to PDF (I.e. actually provided a new function that works. Underneath, it's completely different from whatever was there before, though they have retained the 'format PDF' English words for the function and the enumeration for 'file format' parameter.) Meanwhile, the old «raw code», whatever it was, now compiles to this 'flat template' thing which is not published in the Dictionary but can still be used internally by Microsoft for testing or whatever. Or maybe just so it still worked in some fashion in 2008, though deprecated, but now finally doesn't do anything in 2011, since there's the proper 'format PDF' with the new raw code to replace it.
So in your saved file, the old raw code is still compiled and runs with the error, but now appears as 'flat template', not 'PDF'. If you try to compile 'flat template' in 2008 or 2011, you can't, since it's not in the Dictionary. But if you knew what the old raw code was, it would compile to 'flat template' (and be useless, with the error you see, when run). Normally, we don't need to know raw codes: that's why we have Dictionaries. But that's what it's all about: the raw codes were changed, and the underlying coding with it, so the new 'format PDF' works properly without the bugs that used to be there.
--
Paul Berkowitz
_______________________________________________
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