R
R
REDkiy2019-04-08 18:15:47
Programming
REDkiy, 2019-04-08 18:15:47

How to transfer data for processing to another program and get the result back?

I can't get on with the task. I doubt that it can be implemented in Python, so any adequate tools are welcome.
The procedure is as follows - The user works in a text editor (Word, Writer, Notepad, text field in the browser) - Presses a hot combination - ANOTHER program is launched - A text template is selected there - A button (or other key combination) is pressed - Into the source program in place where the cursor is placed the text is inserted.
It is necessary to implement this at some level of cross-platform - Windows, MacOS, possibly Linux.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Smirnov, 2019-04-08
@GameDev_Easy

Hello!
There are two options:
Use the clipboard: Clipboardeither OS.Clipboardor System.Clipboardor Sys.Clipboard(depending on the PL)
Decompile the program, write a call to the TXT file where your text is

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question