MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / start

Method start

source/src/thread.cpp:78–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77 else
78 {
79 Qi::curBlock += macro->curBlock;
80 if (Qi::run || Qi::debug)
81 {
82 interpreter.setActions(macro->acEnd);
83 interpreter.ActionInterpreter(macro->acEnd);
84 }
85 Qi::curBlock -= macro->curBlock;
86 }
87 }
88 catch (std::runtime_error e) { QiTr::UnBlock(); macro->script_interpreter.showError(e.what(), std::string("位于初始化脚本")); }
89
90 macro->script_interpreter.clearProperty();
91 macro->script_interpreter.setWorker(nullptr);
92 }
93};
94void QiMacroThread::start(Macro* macro, bool running)
95{
96 if (macro->wndState)
97 {
98 macro->wndInput.wnd = macro->wndInfo.wnd;
99 macro->wndInput.child = macro->wndInfo.child;
100 if (!macro->wndInput.active())
101 {
102 macro->wndInfo.update_fromName();
103 macro->wndInput.wnd = macro->wndInfo.wnd;
104 if (!macro->wndInput.wnd) macro->wndInput.wnd = (macro->wndInfo = QiFn::WindowSelection()).wnd;

Callers 12

resMonitorStartFunction · 0.45
initMethod · 0.45
TriggerFunction · 0.45
QiStateFunction · 0.45
InitMethod · 0.45
EventMethod · 0.45
Event_Action_WidgetMethod · 0.45
StartMethod · 0.45
customEventMethod · 0.45
beginMethod · 0.45
QFrameless.hFile · 0.45
customEventMethod · 0.45

Calls 4

WindowSelectionFunction · 0.85
update_fromNameMethod · 0.80
PopupMethod · 0.80
activeMethod · 0.45

Tested by

no test coverage detected