Open wawa-wahoonito opened 5 years ago
Unfortunately, that is not possible at the moment. See also issue #25.
Is there any update? I really hope this function can be realized.
I am thinking about adding this feature in StataEditor. The following is my plan for the intended features:
However, there is a choice to make about the implementation. There are two ways to implement, but both have their pros and cons:
stata_path
in the settings. The titles of the Stata main windows (excluding Viewer or Data Editor windows) can be retrieved as well. Commands are sent to Stata sessions through sending messages to the Command Window in Stata. However, the con is that we are unable to benefit from extra features of Stata Automation, especially variable completion since Win32 API cannot be used to get variable list from Stata. (Maybe this can be achieved by secretly open the Data Editor and get variable names from the Variables panel. I need to check.)If I cannot successfully get variable names through Win32 API, I think the optimal way is a hybrid of the two approaches:
If this sounds good, I'll try to implement and make a pull request. Any discussions or ideas are welcomed.
It's inspiring if this function can be implemented!
I would like to run multiple programs at a time. For example, if I open two ST3 windows (not two tabs) under two different directory for two projects, I would hope ST3 would initiate two Stata windows and run them simultaneously. However, project #2 will cut #1 short on the same Stata window. Is there any way to work around this? Thank you!