12-27-2015, 09:02 PM
This is great, thanks!
I'd like to ask, how can I execute javascript as above but without a dialog? (perhaps without SHDocVw also). I'm trying to send WM_COPYDATA (js code) for an HTA file (opened by mstha.exe, internet explorer) but I just can't get it to work. Ideally, I'd like to to know of a neat, generic solution I can adapt to pass string values to js (for also firefox, chrome, etc)... even more ideally, including string arrays but that's optional, not sure what it requires. Going through the forums, I also saw the alternative option of shared memory and the sample codes seemed short, but I'm really out of my depth.
I'd appreciate any help!
I'd like to ask, how can I execute javascript as above but without a dialog? (perhaps without SHDocVw also). I'm trying to send WM_COPYDATA (js code) for an HTA file (opened by mstha.exe, internet explorer) but I just can't get it to work. Ideally, I'd like to to know of a neat, generic solution I can adapt to pass string values to js (for also firefox, chrome, etc)... even more ideally, including string arrays but that's optional, not sure what it requires. Going through the forums, I also saw the alternative option of shared memory and the sample codes seemed short, but I'm really out of my depth.
I'd appreciate any help!