In this step add code to call the Copy to Clipboard function from the ButtonClick function.
1. In the Switch command of the ButtonClick function of the DisplayEmployee script, add a case statement for F6 key (KeyF6).
2. In the statement for the F6 key add a call to the uCopyEmpDetails function:
case KeyF6: /* Call copy function */ this.uCopyEmpDetails(); break;
3. Use the Commit Changes button to commit the changes to the script and then do a partial save.