To prevent excess moisture from the apples, you can pat them dry with a paper towel before adding them to the cookie dough. This will help maintain the cookie's texture.