Hi Michelle,
Are you familiar with the interface of the command Glm (or Glm_gui in the Mac)?
1) Open the Glm_gui
2) Go to the tab "Contrasts and F-tests"
3) Using design1 as an example, set the number of t-tests to 24 and F-tests to 4.
4) Enter all the t-tests (contrasts 1-24)
5) In the buttons on the right of each contrast, select those that will constitute the F1, F2, F3, and F4, as indicated in the spreadsheet.
That's it!
If you don't want the t-tests, but only the F-tests, it suffices to enter just the 8 relevant contrasts, and mark them as indicated as F1, F2, F3, and F4. The others can be omitted.
Hope this helps.
All the best,
Anderson