Pass data from AHK to PHP

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
knn
Posts: 30
Joined: 30 Mar 2020, 20:35

Pass data from AHK to PHP

26 Apr 2020, 22:19

I want to pass data from AHK --to--> PHP --back to--> AHK.
  • I want to select some text
  • then pass the selected text to a php script (called via c:\php\php.exe myscript.php)
  • then pass the processed text back to AHK (via stdout or elsehow)
Now, the main difficulty is to somehow serialize/JSONify the selected text so that I can pass it as an argument that my php script understands
c:\php\php.exe myscript.php SERIALIZED_SELECTED_TEXT

Is this possible?

Any help is appreciated.
BNOLI
Posts: 548
Joined: 23 Mar 2020, 03:55

Re: Pass data from AHK to PHP

27 Apr 2020, 01:43

Remember to use [code]CODE[/code]-tags for your multi-line scripts. Stay safe, stay inside, and remember washing your hands for 20 sec !

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 317 guests