How to send a string from "one.exe" to "another.exe" (both ahk compiled)
any idea pls??
sending string to another exe Topic is solved
-
- Posts: 112
- Joined: 06 Jun 2016, 21:32
-
- Posts: 4309
- Joined: 29 Mar 2015, 09:41
- Contact:
Re: sending string to another exe Topic is solved
See that example.
Re: sending string to another exe
Hallo,
or:
or:
Code: Select all
;Sender.ahk
String = New Value
q::Send("String")
Send(Var)
{ ;Sends the variable
Global
ClipOld := ClipBoardAll
ClipBoard := Var "|" %Var%
Sleep, 200
ClipBoard := ClipOld
}
Code: Select all
;Receiver.ahk
#Persistent
SetTimer, ShowVar_String, 100
ShowVar_String:
IF (String > "")
ToolTip,% "String: " String
Return
OnClipboardChange:
If !InStr(Clipboard,"|")
Return
StringSplit, Var, ClipBoard, |
%Var1% := Var2
Return
-
- Posts: 112
- Joined: 06 Jun 2016, 21:32
Re: sending string to another exe
Both Are Pefect !!
Thank You Guys...
Thank You Guys...
Who is online
Users browsing this forum: Google [Bot], Xtra and 120 guests