Macros require a button to be pressed to activate, so you'd need to be tabbed into the game. I'm not sure how you would use Freecam "in the background"