Hey listers.
I have been playing around with some coding this morning, but seem to be stuck. Maybe I do not fully comprehend the meaning of what I am doing. :)

I have a piece of a script, which only should kick into action, whenever Browse Mode is working. That is, it should not perform anything, whenever you are in things like Notepad or Word. But when you are reading a website, independent on whether it is under Internet Explorer or Firefox or (if possible) in your Email program, and Browse Mode is turned On, the code should kick in.

I have been scrolling through the manual, and I found the enumeration named
    BrowseModeState
and
    BMSActive.
I guess, somehow I should do a testing on these, to see when my code would be needed. And that is where I hoped for your assistance.

Just to make room for as little misunderstanding as possible, this script would be running globally, quietly sitting in the background, and only jump into action when the user is working under Browse Mode. If only I could figure the way of doing this ongoing testing. I thought of the OnStateChange sub, but am afraid I do not fully grasp the way it works, even after looking at the code produced by the Framework app.

If anyone please could throw up a couple of lines showing me the needed testing, or could point me to a code that would samplify this behavior. Right offhand, I am not aware what app from the Central would hold code that would perform equally, or I could have downloaded it and tried to figure how to work around this one.

Thanks for any input.


--
David

Reply via email to