Sift or whisk together the flour and salt. Set aside.
In the bowl of a stand mixer fitted with the paddle attachment or the bowl of a medium mixing bowl using an electric hand mixer, cream together the butter and sugar for 2 minutes until it is creamed.
Stir in the egg yolks, almond extract and vanilla extracts until just blended.
Add in the dry ingredients until just mixed, scraping down the sides.
Choose your press design and then fill the cookie press with dough, being mindful to avoid any air pockets.
Press out the dough onto a cool, ungreased and light-colored aluminum baking sheet. For best results, place the press directly onto the pan so the dough can stick, press lightly, cut the trigger and pull straight up. Repeat the process about 1 ½ inches apart. If decorating with sanding sugar, do so now. Keep the cookie dough at room temperature while baking batches.
Bake for 6-7 minutes. The cookies will not be lightly browned. If they bake took long, they will lose their shape, the goal is to remove them before they start to turn golden brown around the edges or spread. Remove and allow to cool on the cookie sheet before removing.
Notes
Chocolate Variation: Replace ¼ of the flour with Dutch processed cocoa powder and add 1 tablespoon of milk.Storage: Store baked cookies in an airtight container for 1- 2 weeks. Add a slice of bread to the container to keep them soft.Freezing: You can freeze baked spritz cookies for up to 2 months. Separate layers of cookies with parchment paper.