Take a look at iMacros. It's a browser addon that allows you to run mechanic tasks automatically, even if they involve using the mouse.
You don't need any programming skills, but it supports easy scripting for cool things like loops and conditionals (just in case you want to do more complex stuff).
If you need to use macros outside the web browser (like in other programs, for example notepad), there are other installable alteratives such as Mouse Recorder.