Jump to content

Recommended Posts

Posted (edited)

Yes, we have those here and there (including my Container UDF), but i didn't  find one that able to pass arrays or other types to be reliable enough.

Differences from other analogs:

  • Stability (reliability)
  • Array support (2D ATM)
  • Ability to get the return data from the interaction process
  • Easy both ways interaction

 

Notes:

  Quote

* This UDF registers $WM_COPYDATA, if you or other UDF uses this message, __AppInteract_WM_COPYDATA($hWnd, $iMsg, $wParam, $lParam) should be called from that other message function.
* Do not use any delay functions inside the receiver function, the return must be as soon as possible.

Expand  

 

Examples (run both)...

  Reveal hidden contents

 

Downloads:

AppInteract_v0.5.zipFetching info...

AppInteract_v0.4.zipFetching info...

AppInteract_v0.3.zipFetching info...

AppInteract_v0.2.zipFetching info...

AppInteract_v0.1.zipFetching info...

Edited by MrCreatoR
New version

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

Update:

  Quote

v0.2
* Better interaction in both ways.
+ Added $sCmdLine optional parameter to check executable command line.
* Examples changed.

Expand  

 

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

Update:

  Quote

v0.3
+ Added option to return from the receiver back to the sent process.
+ For the return option, added optional parameter $sRetAppName to _AppInteract_Send function.
* Minor corrections.
+ Added examples to show how the _AppInteract_Send can get the return.
 

Expand  

 

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

Update:

  Quote

v0.4
+ Added x64 support.
+ Added more examples (Thanks to Vanguger for Example #3).
* Now sent data can be any type of data except 3D (or higher) arrays, objects and structures.
* Now the option to return data back from the receiver is more reliable.
* _AppInteract_Send now returns only string data type (up to 1024 bytes) from the receiver.
- Removed $sRetAppName parameter from _AppInteract_Send function due to change of return method.
 

Expand  

 

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

Update:

  Quote

v0.5
* Removed 1024 bytes limitation (thanks to Danyfirex).
* Now the return data can be any type of data except 3D (or higher) arrays, objects and structures.
* Changed return values on @error in _AppInteract_Send.
* Better error handling.

Expand  

 

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

  • 2 years later...
Posted (edited)

MrCreatoR, 

Many thanks for awesome UDF! 

Some issue:

Although v0.5 shouldn't have limitation, I can't send more then 1013 chars. Your UDF crashes without any error.

Edited by RAMzor

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
  • Recently Browsing   0 members

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