Skip to content

[linux] win.rect reassignment support #251

@timo

Description

@timo
 in script at /home/timo/.talon/user/timo/jump/actions/mjump.talon:2:
 > user.window_rect_test()
KeyError: "Action 'user.window_rect_test' is not declared."
2021-02-25 17:26:50 DEBUG [~] /home/timo/.talon/user/timo/jump/code/mjump.py
2021-02-25 17:26:54 ERROR     7: talon/scripting/talon_script.py:518| 
    6: talon/scripting/talon_script.py:264| 
    5: talon/scripting/talon_script.py:485| 
    4:      talon/scripting/actions.py:74 | 
    3:        talon/scripting/types.py:360| 
    2:    user/timo/jump/code/mjump.py:17 | w.rect = (100, 200, 500, 600)
    1:               talon/linux/ui.py:222| 
NotImplementedError

[The below error was raised while handling the above exception(s)]
2021-02-25 17:26:54 ERROR cb error topic="phrase" cb=<bound method SpeechSystem.engine_event of <talon.scripting.speech_system.SpeechSystem object at 0x7fec4819d590>>
   38:       lib/python3.9/threading.py:912* # repl client thread
   37:       lib/python3.9/threading.py:954* 
   36:       lib/python3.9/threading.py:892* 
   35:    lib/python3.9/socketserver.py:650* 
   34:    lib/python3.9/socketserver.py:360* 
   33:    lib/python3.9/socketserver.py:720* 
   32:         talon_plugins/00_repl.py:235| shell.interact()
   31: ------------------------------------# repl client thread
   30:         talon_plugins/00_repl.py:184| more = self.push(m['text'])
   29:            lib/python3.9/code.py:258| 
   28:            lib/python3.9/code.py:74 | 
   27:            lib/python3.9/code.py:90 | 
   26:                        <console>:1  | 
   25: talon/scripting/speech_system.py:393| 
   24: talon/scripting/speech_system.py:89 | 
   23:             talon/engines/w2l.py:635| 
   22:      talon/scripting/dispatch.py:103| 
   21:      talon/scripting/dispatch.py:138| 
   20:      talon/scripting/dispatch.py:129| 
   19:          talon/scripting/rctx.py:225| # 'phrase' main:_redispatch()
   18: talon/scripting/speech_system.py:52 | 
   17:      talon/scripting/dispatch.py:103| 
   16:      talon/scripting/dispatch.py:138| 
   15:      talon/scripting/dispatch.py:129| 
   14: ------------------------------------# repl client thread
   13:          talon/scripting/rctx.py:225| # 'phrase' main:engine_event()
   12: talon/scripting/speech_system.py:353| 
   11:       talon/scripting/actions.py:74 | 
   10:         talon/scripting/types.py:360| 
    9:          talon/scripting/core.py:108| 
    8:       talon/scripting/actions.py:74 | 
    7:         talon/scripting/types.py:360| 
    6:          talon/scripting/core.py:138| 
    5:       talon/scripting/actions.py:74 | 
    4:         talon/scripting/types.py:360| 
    3:     user/emit_context_handler.py:14 | script.run(actions, namespace=m)
    2:  talon/scripting/talon_script.py:615| 
    1:  talon/scripting/talon_script.py:522| 
talon.scripting.talon_script.TalonScriptError: 
 in script at /home/timo/.talon/user/timo/jump/actions/mjump.talon:2:
 > user.window_rect_test()
NotImplementedError:

modelled after #131

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions