The brief overview of how to set this up is formally documented starting on page 443 of the users guide available in JMP
Help==>Books==>Using JMP
Here is what I suggest how you do what you want:
Go to the pull down menus
View==>Customize==>Menus and Toolbars
In the window displayed click on the gray triangle in the Toolbars section, that is just to the left of Tools
Once the Tools section is expanded, right click on the last tool, and specify to "Insert After"
Select "Command" and click on OK
In the "Internal Name" input, type in "removescripts"
In the "Caption" input, type in "Remove Scripts"
In the "Run this JSL" input area, Paste in the following script:
Names Default To Here( 1 );
dt = Current Data Table();
names = dt << Get Table Script Names;
For( i = 1, i <= N Items( names ), i++,
dt << Delete Table Property( names[i] )
);
Now go down to the "New shortcut (press shortcut keys): and click on the input area
This is where you will assign a key stroke to use to invoke your little script, I suggest CNTL/r
The short cut must be a CNTL+ something key stroke
So now just press CNTL/r
It will now appear in the input area
Now just click on OK, and you have a new shortcut to use
To try it out, just open a data table with some scripts, click on the data table and then press CNTL/r
Jim