Sorry, one more thing:
In my paste, I neglected to include a test:
if (sCmd=="fullpage") {
if (cuteEditor1.FullPage==true) {
sCmd="fromfullpage"
}
else { sCmd="tofullpage" }
}
CE returns "FullPage" as the command, so you need to test the current status of FullPage.
You probably already figured that out...
Fred