I’ve got two machines running 10.5.4 – both Intel
– one a MacPro, the other a MacBook Pro. Running this script:
tell app “Installer”
launch
display
dialog “Fred”
end tell
succeeds on one machine and fails on the other. On the
machine that fails, event log shows this:
tell application "Installer"
launch
current
application
display
dialog "Fred"
«event
ascrgdut»
display
dialog "Fred"
"Installer
got an error: \"Fred\" doesn’t understand the display dialog
message."
On the machine where the script succeeds, there is no
ascrgdut event, and the display dialog line appears only once. If I target app “System
Events”, the both machines succeed, both machines show an ascrgdut event,
and System Events returns {} from the ascrgdut event on both machines. All
relevant pieces of the OS look the same (i.e. versions of Script Editor, the
SystemAdditions.osax, the Installer app bundle, which the exception that the
Installer has two localized versions of Portuguese resources – pt and
pt-PT for the machine that fails as opposed to just pt for the machine that
works.
So the question is: anyone know why the two machines are
acting differently? Any hints on where to look?
- Olof Hellman
Microsoft MacBU