Hello
I tried to open a script which behaved flawlessly with Pages 5.x and got an odd behavior.
The instruction
set the installedTemplates to the name of every template
which is always given as is in the dictionary
is now displayed as
set the installedTemplates to the name of every «class tmpl»
and if I replace «class tmpl» by template the editor issue an error.
The instruction
make new document with properties {document template:template "Essay"}
which is always given as is in the dictionary
is now displayed as
make new document with properties {«class Tmpl»:«class tmpl» "Essay"}
and if I replace «class Tmpl» by document template or «class tmpl» by template the editor issue an error.
Is it the common behavior or is there an oddity somewhere in my machine ?
On the other hand the similar instructions behave flawlessly in Numbers 4.0.5.
I will look at the way they behave in Keynote.
Yvan KOENIG running Sierra 10.12.1 in French (VALLAURIS, France) vendredi 2 décembre 2016 10:50:42
|