You need to escape the embedded quotation marks: hiSetBindKey( "Schematics" " k" "drLoadDrf(\"/home/andy/display.drf\" nil)") ;hiSetBindKey hiSetBindKey( "Schematics" "Shift k" "drLoadDrf(\"/home/andy/display_thick.drf\" nil)") ;hiSetBindKey Otherwise it will see the bind key string as ending after the 'drLoadDrf(' bit and then the rest would cause a syntax error because there's no space. Escaping the quotation marks needed as part of the call to drLoadDrf means that the entire command is defined as the bind key. Regards, Andrew.
↧