Jump to content
Sign in to follow this  

share vaiables among scripts

Recommended Posts


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?

Share this post

Link to post
Share on other sites

This post may assist you.. #16

Thanks, looks good, I'll give it a try;

however there are about 100 vars to be shared... well, I'll find it out ;)

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...