sioyek-python-extensions icon indicating copy to clipboard operation
sioyek-python-extensions copied to clipboard

cannot invoke scripts

Open zhizhongpu opened this issue 1 year ago • 0 comments

My attempt:

  1. installed through windows terminal: python -m pip install sioyek
  2. downloaded script "embedded_annotations.py" to sioyek-windows-release/scripts/
  3. add to prefs_user_config: execute_command_h python C:\sioyek-release-windows\scripts\embedded_annotations.py highlight "%1" "%4" "%3" new_command _embed_annotations python -m sioyek.embed_annotations "%{sioyek_path}" "%{local_database}" "%{shared_database}" "%{file_path}"
  4. add to keys_user.config: execute_command_h;add_highlight h
  5. open a file and select a text and press hh
  6. close sioyek and open file in MS Edge, observing no highlights.

zhizhongpu avatar Aug 14 '23 19:08 zhizhongpu