Welcome to the forum.
I can't help you on the coding side but is using a URL an
option? If it is, then see my site where I explain how to call
webhelp using URLs. That includes how to open the help pointing to
a specific topic, thus giving you context sensitive help.
Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.