I'll jump in. There are many ways to accomplish this. You were close to solving this on your own. It appears your didn't ask the clipboard for the value. Try this and see if it gets you where you need to be. You can use whatever trigger you'd like though. Also, you can use regular variable. In my example, I used a Local variable.
Sorry!, but one more question...with the above script, I'm able to highlight each number and divide it.
The document I'm trying to modify has hundred of lines and numbers. All the numbers are between two parentheses.
I'm trying to modify this script so I could just set it running at the start of the document and it would find each number, do the division, and then go on to the next number, automatically do the division, etc., etc.
A small portion of the document looks like the following.