quote:
Originally posted by Deco
It can't be that tough to do what I want..
Depends on your programming knowledge
quote:
Originally posted by Deco
All I want to do it have a script that will send a message "quietly" and not open any windows. Since we already discussed that in the other thread and figured that it was impossible to do with regular scripting I've turned my attention to plugins..
What has been said in that thread is that it isn't possible using normal programming; being it scripts or plugins.... You need to do it via sending and talking on the protocol level. This hasn't got much todo with scripting or plugins. It has mostly todo with how you program it, not with what you use to program it, if you know what I mean
But the reason why this isn't possible with scripting alone is because you will need callbacks to do this. Callbacks aren't available in the current scripting engine.
Using an external DLL which does the protocol talking for you, it would be possible.
But all that is not the main problem you're facing. The main thing is, as said in that other thread, that you need to create a proxy.
And that is far from easy. Also you need to understand and know the complexity of the messenger protocol.
It is possible, but very far from easy...
quote:
Originally posted by Deco
sure I can tell how to open it and how to call a function but I couldn't find an example of how to make it (the dll) so that I can use it in plus scripts.
The examples shown in the official plugin documenation, and the sources of plugins on these forums (eg: the one from Matty) show exactly how to make such a DLL.
VB6 Plugins are ActiveX DLLs. They work in exactly the same way, and thus can be called in the same way you call any other ActiveX DLL and functions within it.