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

Method exec

source/src/scriptinterpreter.cpp:1072–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1070 if (wnds.empty() || index < 0 || index >= wnds.size()) return nullptr;
1071
1072 if (args.size() > 4) inter->setValue(args[4].toString(), wnds.size());
1073 std::sort(wnds.begin(), wnds.end());
1074 return wnds[index];
1075 }
1076};
1077/*
1078str name: window name
1079str class: window class
1080str process_path: window of process path
1081int index: index of windows
1082str var_name: var name for accept window count
1083
1084ptr return
1085*/
1086struct QiFunc_wnd_find_other : public QiFunc
1087{
1088 QiFunc_wnd_find_other() : QiFunc(1, 4) {}
1089 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter* inter) const override
1090 {

Callers

nothing calls this directly

Calls 6

toIntegerMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
toStringMethod · 0.45
sizeMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected