I'm not sure what you mean. Are those numbers all in one variable in the prefs window? Can you post a screenshot?
Here's the bare bones of what you're trying to do, namely test for the Raycast window, as a macro:
Is Raycast Active?.kmmacros (20 KB)