add new properties

This commit is contained in:
Akash Mozumdar 2020-08-12 07:02:25 -06:00 committed by GitHub
parent fc9cad5978
commit 028af54dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.<br>
`"text number"`: number of the current text thread. Counts up one by one as text threads are created. 0 for console, 1 for clipboard.<br>
`"text name"`: pointer to start of a wchar array of the name of the current text thread.<br>
`"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.<br>
`"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.<br>
`"void (*AddText)(int64_t number, const wchar_t* text)"`: similar to AddSentence, but doesn't treat the text like it's a full sentence.<br>
`"DWORD (*GetSelectedProcessId)()"`: pointer to function that returns the process id currently selected in Textractor's top left dropdown.
# Notes