Sid78 0 Posted April 13, 2010 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 Share this post Link to post Share on other sites
kaotkbliss 146 Posted April 13, 2010 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) 010101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110011011010010110011100100001My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueekWe're gonna need another Timmy! Share this post Link to post Share on other sites
Sid78 0 Posted April 13, 2010 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? Share this post Link to post Share on other sites
kaotkbliss 146 Posted April 13, 2010 I usually use ini files to save and pass information between scripts and has worked very well for me. 010101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110011011010010110011100100001My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueekWe're gonna need another Timmy! Share this post Link to post Share on other sites
AdmiralAlkex 126 Posted April 13, 2010 Command Line Parameters .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Share this post Link to post Share on other sites