Here is another sample of the error.
This is from a a script to create a slug in InDesign.
tell application "Adobe InDesign CS6"
get font "Arial Narrow"
--> font "Arial Narrow"
set properties of text defaults of active document to {applied font:font "Arial Narrow", font style:"regular", capitalization:normal, justification:left}
activate
get active document
--> document id 1
count every page of active document
--> 1
get page 1 of active document
--> page id 208 of spread id 203 of document id 1
get layer "Slug" of document id 1
--> layer id 261 of document id 1
set active layer of active window to layer "Slug" of document id 1
get name of document id 1
--> "Untitled-1"
exists swatch "sluggreen" of document id 1
--> true
exists swatch "slugorange" of document id 1
--> true
get active page of active window
--> page id 208 of spread id 203 of document id 1
set slug bottom offset of document preferences of document id 1 to "40mm"
set slug top offset of document preferences of document id 1 to "10mm"
set slug inside or left offset of document preferences of document id 1 to "10mm"
set slug right or outside offset of document preferences of document id 1 to "10mm"
set horizontal measurement units of view preferences of document id 1 to millimeters
set vertical measurement units of view preferences of document id 1 to millimeters
get page width of document preferences of document id 1
--> 419.999999999167
get page height of document preferences of document id 1
--> 296.999999999461
round 419.999999999167
--> error number -1708
«event ascrgdut»
--> error number -1708
round 419.999999999167
--> error number -1708
Result:
error "Adobe InDesign CS6 got an error: 419.999999999167 doesn’t understand the round message." number -1708 from 419.999999999167
It is also not running any of the applescripts I use within FileMaker Pro.
Here is a sample of one I use to create folders on our server:
tell current application
do shell script "mkdir '/Volumes/Production_FP/test' 2> /dev/null"
Result:
error "\"mkdir '/Volumes/Production_FP/test' 2> /dev/null\" doesn’t understand the do shell script message." number -1708 from "mkdir '/Volumes/Production_FP/test' 2> /dev/null"
All these scripts did work a few days ago, and still work on other identical computers.
I have tried replacing the System/Library/ScriptingAdditions folder from the Time Machine backup, but this has not helped.