Glasgow-born Gavin Macpherson's route to this week's New South Wales Open is an unusual one - he won his place on an indoor golf simulator.