Bryco,
I did what you said in the previous post, but didn't work. In the third step, you wrote, If true in StartCommand, then EndCommand never activated. So my question is, if EndCommand never activated, then the boolean is true, which is set in startcommand. so the snippet that is needed will not run.
Thanks