From 028af54dce7a39fb4a76e1d4f2b8497c5d08fc0c Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Wed, 12 Aug 2020 07:02:25 -0600 Subject: [PATCH] add new properties --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b8924ab..dbbbc04 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,9 @@ After the sentence has been processed by all extensions, it will be displayed. `"process id"`: process id that the sentence is coming from. 0 for console and clipboard.
`"text number"`: number of the current text thread. Counts up one by one as text threads are created. 0 for console, 1 for clipboard.
`"text name"`: pointer to start of a wchar array of the name of the current text thread.
-`"void (*AddSentence)(void* this, int64_t number, const wchar_t* sentence)"`: pointer to function that adds a sentence to the text thread with the specified number.
-`"this"`: context pointer used for aforementioned function. +`"void (*AddSentence)(int64_t number, const wchar_t* sentence)"`: pointer to function that adds a sentence to the text thread with the specified number.
+`"void (*AddText)(int64_t number, const wchar_t* text)"`: similar to AddSentence, but doesn't treat the text like it's a full sentence.
+`"DWORD (*GetSelectedProcessId)()"`: pointer to function that returns the process id currently selected in Textractor's top left dropdown. # Notes