Are we supposed to know what "OneNote" is? For
any program the issue is probably the same, but if
OneNote is from Microsoft there could be a custom
tie-in.
Three things I can think of:
1) Use Sendkeys to automate
the menu click. But that's a bit hokey and I'm not sure
whether it still works in later Windows versions. I seem
to remember that MS partially broke it for security
reasons.
2) If you can find out the action taken you might
be able to do it directly. For instance, if the IE menu
just runs OneNote with a command line string
consisting of the URL then you might be able to
do something with WScript.Shell, like:
SH.Run OneNote-exe-path URL
3) If OneNote is from MS the menu might be hard-coded.
If not then there's probably a Registry method for adding
custom IE SendTo items. In that case you might be able
to do the operation directly based on information found
in those settings.
In any case, I don't know of any generic menu-click
operation in the ExecWB commands.
----------------------------------------