Hello,
are there any plans for the foreseeable future to enhance Macro Scheduler to support sockets / websockets?
I am currently about to connect a runtime ms.exe with my application software to exchange data and commands. For this http works, of course, but has, in my eyes, lots of disadvantages versus sockets.
Best regads
Support for sockets
Moderators: Dorian (MJT support), JRL
- Dorian (MJT support)
- Automation Wizard
- Posts: 1380
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: Support for sockets
There are no current plans for this.
Yes, we have a Custom Scripting Service. Message me or go here
-
- Junior Coder
- Posts: 28
- Joined: Wed Jul 22, 2015 6:10 pm
- Location: A Berliner just east of Wien
Re: Support for sockets
Hello,
I read in MacroScheduler that one can call VBScripts and also read data via VBEval from a VBScript into a MacroScheduler Array.
I have no experience with the Microsoft VisualStudio environment but I strongly suppose that VBScripts are able to communicate via sockets. I am therefore asking if it is feasible to call from MacroScheduler a VBScript, that communicates with our application via sockets, receives the answers and provides this data back to MacroScheduler. And since VBRun can pass data to a VBScript, this should also work the other way round so that my MacroScheduler code provides the initial data to the VBScript.
Will that work?
I am especially not sure about the differences and limitations of VBScript versus a "full" VisualBasic. But there are various postings etc in forums, which claim that this is possible with MSWINSOCK.Winsock and/or third party additional libraries.
Thank you for your kind reply and
Best regards
I read in MacroScheduler that one can call VBScripts and also read data via VBEval from a VBScript into a MacroScheduler Array.
I have no experience with the Microsoft VisualStudio environment but I strongly suppose that VBScripts are able to communicate via sockets. I am therefore asking if it is feasible to call from MacroScheduler a VBScript, that communicates with our application via sockets, receives the answers and provides this data back to MacroScheduler. And since VBRun can pass data to a VBScript, this should also work the other way round so that my MacroScheduler code provides the initial data to the VBScript.
Will that work?
I am especially not sure about the differences and limitations of VBScript versus a "full" VisualBasic. But there are various postings etc in forums, which claim that this is possible with MSWINSOCK.Winsock and/or third party additional libraries.
Thank you for your kind reply and
Best regards
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Support for sockets
Hi,
VBScript and VB are very different.
There's no built in support for sockets in VBScript. There used to be mswinsck.ocx which I'm guessing it *may* have been possible to use with VBScript, but I'm not sure if it even exists any more.
Another option might be to use the socket library with Python:
https://realpython.com/python-sockets/
It might be possible to do that within Macro Scheduler using PyExec.
You might also be able to use a third party ActiveX component. Maybe this?
https://sockettools.com/sockettools-activex-edition/
VBScript and VB are very different.
There's no built in support for sockets in VBScript. There used to be mswinsck.ocx which I'm guessing it *may* have been possible to use with VBScript, but I'm not sure if it even exists any more.
Another option might be to use the socket library with Python:
https://realpython.com/python-sockets/
It might be possible to do that within Macro Scheduler using PyExec.
You might also be able to use a third party ActiveX component. Maybe this?
https://sockettools.com/sockettools-activex-edition/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Junior Coder
- Posts: 28
- Joined: Wed Jul 22, 2015 6:10 pm
- Location: A Berliner just east of Wien
Re: Support for sockets
Hello,
and thank you very much for the proposals.
I will investigate them and report the results here so that it might help other users.
Best regards
and thank you very much for the proposals.
I will investigate them and report the results here so that it might help other users.
Best regards