Your request sounds like a request for someone in the Discussion Community to write and deliver a piece of JSL of your specification. I believe the Discussion Group Community can better server you if you can provide the sample code you are building and having issues with. If you do not have such code that you can share, I suggest that you start off with the first step of reading in the limits from the limits table generated from the Manage Spec Limits. @ian_jmp has a very nice example of how to apply spec limits to a column. All that has to be done with this code is to loop through the Limits table and call the function he is using, just replacing the LSL, Target and USL from the limits table rows into each call of the function
Script For Adding Spec Limits to a column
If this suggestion is beyond you scripting knowledge, that indicates that you need to go to the Scripting Guide and read through it.
Jim