My app hasn’t changed any, it just doesn’t work anymore. The only applescript it uses is that a combobox has an on awake from nib script. The scriptSuite contains the bare minimum to comply. I tried making my on awake from nib not even contain any code, and it still complains. So I have to assume my .scriptSuite was somehow damaged, so I created it again from scratch with the new XML format, and no change.
Error converting apple event to script command: -1700
Original event: <NSAppleEventDescriptor: ‘core’'getd’{ ‘----’:'obj '{ ‘form’:'ID ', ‘want’:0x00000000, ‘seld’:2, ‘from’:'obj '{ ‘form’:‘ID ‘, ‘want’:0x00000000, ‘seld’:1, ‘from’:’‘null’’() } }, &‘csig’:65536 }
Expected type: 'obj ’
Offending object descriptor: <NSAppleEventDescriptor: 'obj '{ ‘form’:'ID ', ‘want’:0x00000000, ‘seld’:2, ‘from’:'obj '{ ‘form’:‘ID ‘, ‘want’:0x00000000, ‘seld’:1, ‘from’:’‘null’’() } }
The original scriptSuite is below. I’ve left out the XML version since it is basically identical in meaning and is very long.
{
“Name” = “iWake”;
“AppleEventCode” = “iWak”;
"Classes" = {
"NSApplication" = {
"AppleEventCode" = "wApp";
"Superclass" = "NSCoreSuite.NSApplication";
"SupportedCommands" = {
"iWake.SleepInMinutes" = "sleepInMinutes:";
};
};
};
"Commands" = {
"SleepInMinutes" = {
"CommandClass" = "NSScriptCommand";
"AppleEventCode" = dors;
"Arguments" = {
"Minutes" = {
"Type" = "NSNumber";
"AppleEventCode" = "mins";
};
};
};
};
}