If you're talking about posting and canceling, Auctioning can make a macro for you and bind it to your scroll wheel for super-speed posting and canceling once the scan is complete. This can be found in the Auctioning options ("Module Operations / Options" -> "Auctioning" -> "Options"). If you're talking about something else, typing '/fstack' in game will bring up a window that'll show the names of whatever you're hovering your mouse over. If you hover over a button that has a name, you should see it. If you don't see anything that's an obvious button name, chances are that button can't be macro'd. To macro a button that does have a name, create a macro and enter '/click BTN_NAME' (obviously replace BTN_NAME as applicable and don't put the quotes).