Jump to content

IPC


 Share

Recommended Posts

Hi,

I am new to windows programming. Wanted some clarification when I use AnutoIt script to do some job in windows.

What could be the way for my autoit script (or converted exe) communicate with another application?

For example, I have a VC application and from my VC application, I wanted to execute an Autoit Script? Similarly, my AutoIt Script also needs to send some data back to my VC application. (2 way communication between by VC app and AutoIt script).

Thanks,

-Sid

Link to comment
Share on other sites

That depends on how you need to interact with your program. Check out the help file and I would probably start with the Control commands (ControlClick, ControlSend)

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

What I am looking is, possible to invoke the same autoit script with different parameters from my vc application? Depending on the parameter passed, script will do job A or it will do job B.

In the other way communication, autoit script wants to send some status back to my VC application, (say Inform VC app that I am in state A or I am in state B.) Based on this information, my VC app is suppoed to differet jobs.

Overall, what I am inetersted is the best IPC mechanism between these 2 different applications.

For example, sharing a file and writing/reading this file could be a solution. I am not sure. But, what is the best mechanism to achieve this?

Link to comment
Share on other sites

I usually use ini files to save and pass information between scripts and has worked very well for me.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

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