Sign in to follow this  
Followers 0
MerkurAlex

Send function to other programs.

2 posts in this topic

Hokay i have two programs i want to be able to send a command to one from the other without using regkeys or files so i could have it send msgbox("","","") to the other program which would show a msgbox from the other program.

Anyone know a good way to do this?


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hokay i have two programs i want to be able to send a command to one from the other without using regkeys or files so i could have it send msgbox("","","") to the other program which would show a msgbox from the other program.

Anyone know a good way to do this?

You could send a number to indicate the function to be performed, and a string with the parameters.

Say the number sent is $number, and the string is $String with parameters separated by '|' .

$ArString = StringSplit($string,'|')
 switch $number
   Case 5;msgbox wanted
            msgbox($ArString[1],$ArString[2],$ArString[3],$ArString[4])
      endswitch

To send information from one program to another you could use this which is an example of sending a number and a string.

Edited by martin

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

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  
Followers 0