Q: When I register an auxiliary button for Newton Works using the global function RegAuxButton
, I get a -48204 error. Why am I getting this error?
A: This error is caused by a bug in Newton Works. You will get a -48204 error if you register an auxiliary button for Newton Works while Newton Works is closed. To work around this problem, catch that particular exception and ignore it. Here is a code example:
try
RegAuxButton( kAppSymbol, {destApp: 'newtWorks, ...} );
onexception |evt.ex.fr| do
nil;