> It doesn't seem to work with sendmessage but does with sendmessagestr.

Sendmessagestr handes the situation where lParam is actually a pointer 
to a string buffer for return value.


> However every once in a while the message return gets hung up, (and my
> script stops there without the return value). I have no idea why.

Possibly sendmessage with timeout can help (cannot remember exact api 
name).  You will need dll plugin.

Reply via email to