06-14-2014, 09:13 PM
Sorry again, but I just can't get the following to work.
I am writing a semi-plugin for the text-editor AkelPad.
I am 99% done, the final hurdle is the SendMessage command that initiates my created AkelPad "plugin" (exe).
I do not know how to send string data and output in QM.
The sendmessage is done from AkelPad in the .js (javascript) language.
The first question: how do I modify the following .js code (if you can help me with the .js code)
I want to send the string "test". This code works, QM receives the message but I need to send the var "x" with it (and output it).
var x="test\r\n"
AkelPad.SendMessage(460628,32768+177,x,0)
The "32768" is WM_APP
The second question: how do I output "test"? By modifying the below QM code.
I Succeeded into sending a message and confirming the message arrival, with a static notifier: "MESSAGE RECIEVED"
But now I need to add some parameters that include the sent string "test"
The below code is placed above the "WM_COMMAND goto messages2" line:
Function akelpad_notes_dlg
I tried many combinations from the forum and Archive and searched the MSDN about this.
From the manual, but I think you don't need this. I capped a screenshot just in case.
I am writing a semi-plugin for the text-editor AkelPad.
I am 99% done, the final hurdle is the SendMessage command that initiates my created AkelPad "plugin" (exe).
I do not know how to send string data and output in QM.
The sendmessage is done from AkelPad in the .js (javascript) language.
The first question: how do I modify the following .js code (if you can help me with the .js code)
I want to send the string "test". This code works, QM receives the message but I need to send the var "x" with it (and output it).
var x="test\r\n"
AkelPad.SendMessage(460628,32768+177,x,0)
The "32768" is WM_APP
The second question: how do I output "test"? By modifying the below QM code.
I Succeeded into sending a message and confirming the message arrival, with a static notifier: "MESSAGE RECIEVED"
But now I need to add some parameters that include the sent string "test"
The below code is placed above the "WM_COMMAND goto messages2" line:
Function akelpad_notes_dlg
I tried many combinations from the forum and Archive and searched the MSDN about this.
From the manual, but I think you don't need this. I capped a screenshot just in case.