in reply to Array of buttons

Yes, a 'print' will go to STDOUT. So what are you trying to accomplish?