12-02-2010, 02:17 AM
Ok so this is the extremely simple bit of code that I have:
This code opens up a series of links in separate tabs in firefox. What I would like to do is to copy a number and then have it evaluate the number in the clipboard, subtract 1 and then insert that number as the amount of times to repeat. Can this be done or is there some better, more convenient alternative method to accomplish this?
Essentially I want to replace the "24" with this clipboard-1 equation rather than having to type in the number every time the number of links changes on the page.
This code opens up a series of links in separate tabs in firefox. What I would like to do is to copy a number and then have it evaluate the number in the clipboard, subtract 1 and then insert that number as the amount of times to repeat. Can this be done or is there some better, more convenient alternative method to accomplish this?
Essentially I want to replace the "24" with this clipboard-1 equation rather than having to type in the number every time the number of links changes on the page.