MCPcopy Create free account
hub / github.com/RoganDawes/P4wnP1 / executeScript

Method executeScript

hidtools/mouse/MouseScriptParser.py:213–223  ·  view source on GitHub ↗
(self, script)

Source from the content-addressed store, hash-verified

211 self.DO_DELAY(argv)
212
213 def executeScript(self, script):
214 if len(script) > 0:
215 commands = []
216 for l in script:
217 extracted = self.extract_command(l)
218 if extracted:
219 commands.append(extracted)
220
221 for command in commands:
222 cmd, argv = command
223 self.dispatch_command(cmd, argv)
224
225def main(args):
226 p = MouseScriptParser()

Callers 2

mainFunction · 0.95
do_SendMouseScriptMethod · 0.80

Calls 2

extract_commandMethod · 0.95
dispatch_commandMethod · 0.95

Tested by

no test coverage detected