I changed my test Buch to match yours:
---
title: Test Bunch
---
# Test Bed for Bunch Ideas
{^7}
- (pause 5)
PCalc ~5
* tell application "Moom" to arrange windows according to snapshot "Bunch Test" ~30
{^8} ~2
- (pause 5)
CotEditor ~5
* tell application "Moom" to arrange windows according to snapshot "Bunch Test Two" ~30
* say "good morning Steve"
And obtained the following results.
- The {^7} and {^8} were seemingly ignored as focus did not change.
- The ‘good morning’ command was executed.
- PCalc and CotEditor both opened on the same space (the space the bunch was run from).
- Both Moom commands were executed.
Removing both pause commands gave the following results:
- Focus was shifted to space 7.
- The ‘good morning’ command was executed.
- Focus was shifted to space 8.
- Both PCalc and CotEditor were opened on space 8.
- Both Moom commands were executed.
As far as I can tell this is what is happening, in the ‘no pauses version’.
- Focus shifts to space 7 as it is first and has no delay.
- The ‘good morning’ command executes next as it has no delay.
- After a 2 second delay focus shifts to space 8.
- After a 5 second delay both PCalc and CotEditor launch.
- After a 30 second delay both Moom commands are executed.
Also note that Moom cannot reach across spaces. So it only ‘sees’ windows in the space that has focus. Thus having both Moom commands on a 30 second delay means that they will both execute on whichever space as focus after the 30 second delay. To make it work as you want, you’ll need to ensure that the appropriate Moom command executes while the desired space still has focus.