If you're looking for simple, just get actionator. Set it to undercut everything you post for 1c and alt click from your bags. It will place the item on the ah window, do a scan for that item and autoset the price for how much you told to undercut (you can change it accordingly if you feel like it). It will remember if you do stacks for which items and replicate it everytime.
The World of Warcraft API has a list of functions that you can interact with and to talk with WoW using Lua. These are your building blocks for manipulating WoW windows and chat boxes and so forth. Looking at these for the first time can be very daunting. But don't be discouraged. After getting more familiar with Lua the WoW API gets much easier, and the documentation gets much easier to read. Keep in mind there are many different ways to accomplish your goals, so when going though the API keep looking until you find a way that best suits what you need.