Scripting swedish Distiller 5.0
Scripting swedish Distiller 5.0
- Subject: Scripting swedish Distiller 5.0
- From: Mattias Jonsson <email@hidden>
- Date: Tue, 18 Sep 2001 20:07:25 +0200
Hello all.
Trying to execute a really simple script here with Distiller 5.0 (Swedish
version)
This is what I write:
tell application "Acrobat Distiller 5.0"
open theFile
end tell
Looks ok, right. Now, look what happens when I "compile" that code, check
the syntax:
tell application "Acrobat Distiller 5.0"
vppna theFile
end tell
The command "open" is translated into Swedish "vppna". As long as i run the
script without checking syntax - ie doing it all in one step by pressing
"run" - it works as expected (translated though). However, the script
doesn't run when compiled... because the script says "vppna" instead of
"open" and "vppna" isn't part of Distillers dictionary. Yepp, that's right,
the dictionary is in english down to last character. Now - how impressed are
you? Me? - Not much...
I also tried to put some other statements between tell/end tell
"save" compiles into "spara"
"save as" also compiles into "spara"
Both perfect swedish translations - however, perfect might be a misplaced
word here...
Is there someone that has a german, danish, french or some other non english
version that can try this and tell me how it works?
/Mattias Jonsson
Framkom, Sweden