Page 1 of 1

[Help] autohotkey : Send var to xyplorer script and get return value

Posted: 16 Jun 2023 17:00
by xen
Hi
i want to
-send a variable from autohotkey to xyplorer script
-then process something in xyplorer script
-then xyplorer script will return a value
-get that value from xyplorer script

i know how to create and set perm variable from autohotkey to xyplorer , and processing script in xy, by using Send_WM_COPYDATA
but i dont know how to get that perm var, or return value - from a script from xyplorer - in autohotkey script

for more clearly, this is the data flow
autohotkey set $permval1 to xyplorer and run the xyplorer script
after xyplorer script running , $permval1 change
and i want to get $permval1 value in autohotkey


(and i want to do it by set and get variable in memory ,like using "Send_WM_COPYDATA" ,not by write to file and read)

im using autohotkey-L v1.1.33.10
any help would be much appreciated

Re: [Help] autohotkey : Send var to xyplorer script and get return value

Posted: 16 Jun 2023 17:07
by jupe
This info is all over the forum if you search, here is one example

viewtopic.php?p=207593#p207593

Re: [Help] autohotkey : Send var to xyplorer script and get return value

Posted: 16 Jun 2023 17:53
by xen
Thank you i' ll try it