If you're set on automating tasks, one approach people use is a general macro tool like iMacros (available at iopus.com), which you can program yourself. There are also game-specific bots floating around, such as a "mobster" bot linked from various fan sites.
A word of caution, though: most online games prohibit bots, and using one can get your account banned. If you go this route anyway, people often dial the settings down to a slow or "human-like" pace to avoid detection—but the risk to your account is real.