Jump to content

share vaiables among scripts


JoGa
 Share

Recommended Posts

Greetings!

I want to share variables and handles among 2 or more AutoIt-scripts.

I have done this on *nix in C:

one process creates a shared memory, other processes can attach to that shared memory.

The data of the shared memory can easily be accessed using a structure pointing to the shared memory address.

With AutoIt however I have no idea how to make the shared memory structure available within the script.

I'm familiar with AutoIt's C-Interface (AU3_PLUGIN).

Currently I'm playing with setting shared memory and then retrieving the value via a AU3_Plugin funtion. But this is almost the same as write and read the filesystem.

Any hints and/or suggestions how to implement this with AutoIt?

Link to comment
Share on other sites

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...