Different keyswicthes for same articulation(staccato)

Hello,
I have a library where the strings use keyswitch (F6) for staccato and woodwinds use another keyswitch(E6) for staccato.
What commands/rules can I make in the custom rule file to make that happen? That is when a stringinstrument has a staccato mark it has to trigger keyswitch F6 but if a woodwind instrument has the staccato mark it has to trigger E6
Best regards
Frieda
I have a library where the strings use keyswitch (F6) for staccato and woodwinds use another keyswitch(E6) for staccato.
What commands/rules can I make in the custom rule file to make that happen? That is when a stringinstrument has a staccato mark it has to trigger keyswitch F6 but if a woodwind instrument has the staccato mark it has to trigger E6
Best regards
Frieda