Jump to content

Data interchange between Scripts


JohnBailey
 Share

Recommended Posts

I Just Love IT

Thanks for the feedback Athiwatc! The guys who developed the script have done/are doing amazing work! I just want to put this together in a central location. It helps me a lot and I wish I knew about this stuff from the get go. I'm wanting to implement Martin's new version and concepts into the first post I made, thus redoing it completely. I sent Martin a few questions on his post to get his guidance. Martin is helping a lot! If you, athiwatc, have any ideas, please post them here.

A decision is a powerful thing
Link to comment
Share on other sites

I updated the example in post #15 so that some fast transfers are done, and the linking between programs is neater.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Martin, I'm going to rebuild my original post and link it to your post (for some reason when I click edit it get scrambled)

If you copy the text by highlighting and then CTR C and paste it into notepad or something then you can get the text.

I stopped using AutoIt tags some time ago because of this sort of problem, but the code tags seem ok, that's why my posts have code tags.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

  • 2 months later...

Do you think it's possible to make this work in a distributed environment. Sender beeing on a different Host than Reciever on a local network?

It would need to be written differently to communicate over a network. If it's a local network then I would use UDP and the shared memory wouldn't be used at all.

However, it depends on what you want to do. I made a program called Automonit which monitors Global variables in another script. It has the advantage that the script being monitored doesn't need to be modified as long as the au3 source is available. By modifying AutopMonIt you could send the variables read from the monitored script to another program on another PC. If this sounds like it might be of any use search for AutoMonit in example scripts.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

It would need to be written differently to communicate over a network. If it's a local network then I would use UDP and the shared memory wouldn't be used at all.

However, it depends on what you want to do. I made a program called Automonit which monitors Global variables in another script. It has the advantage that the script being monitored doesn't need to be modified as long as the au3 source is available. By modifying AutopMonIt you could send the variables read from the monitored script to another program on another PC. If this sounds like it might be of any use search for AutoMonit in example scripts.

Thanks , I'll check it out...

I'm probably going to just use a .ini file that one script writes to, and another reads from, since you can easily IniWrite() to a shared folder on a network system.

But I want to keep my options as open as possible, so I'm researching..

Edited by Oldschool
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...