Home Forums Macros ExecuteCaseBranch [value] (feature request) Reply To: ExecuteCaseBranch [value] (feature request)

#7167
Philippe OllivierPhilippe
Keymaster

Hi,
I think you can do it with the SetCurrentCaseValue functionnality.
Please look at the script below where I use SetCurrentCaseValue to redirect to a specific caseBranch.
Is that ok in your situation ?
Philippe

CaseBranch "My song one"
	Post "My song one..."
EndCaseBranches

CaseBranch "My song four"
	Post "My song four..."

	SetCurrentCaseValue "My song one"
	WaitDuration 10
	MacroRestart
EndCaseBranches