Well I couldn't figure it out using macros. I ended up creating a custom usercontrol that takes the path of the folder and creates a repeater for each item in the folder, and applies the default transformation while creating it.
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
string path = "/Path/to/folder/%";
TreeProvider tp = new TreeProvider();
DataSet nodes = CMS.CMSHelper.TreeHelper.SelectNodes(path, true, "", "", "NodeOrder", 1, true);
DataTable tbl = nodes.Tables[0];
int counter = 0;
foreach (DataRow dRow in tbl.Rows)
{
CMSRepeater repeater = new CMSRepeater();
repeater.Path = (string)dRow["NodeAliasPath"];
repeater.ClassNames = (string)dRow["ClassName"];
repeater.TransformationName = (string)dRow["ClassName"]+".Default";
repeater.ID = "Col1Repeater"+ counter;
this.Controls.Add(repeater);
counter++;
}
}