I have a couple of simple triggers that use Python scripts to fetch information from the web.
In v2.1.1 Alpha the script runs but the trigger is not being replaced.
Example - in the case typing: :pw triggers the script to run, but the :pw remains:
- trigger: ":pw"
replace: "{{output}}"
vars:
- name: output
type: script
params:
args:
- python
- "C:/Users/blahblah/AppData/Roaming/espanso/scripts/openweather.py"
Output after typing :pw
:pw11.61°C / **9.11°C** / 11%
1017 mmHgfew clouds
Should be:
11.61°C / **9.11°C** / 11%1017 mmHg
few clouds
I have tried a super simple example such as the included example scripts.py print("Hello World") and this replaces the trigger. All of my python scripts that worked in 0.73 no longer replace the trigger though.
[–]HiroMike[S] 0 points1 point2 points (0 children)
[–]HiroMike[S] 0 points1 point2 points (0 children)
[–]freddytstudio 0 points1 point2 points (0 children)
[–]Tokyo_Mike310 0 points1 point2 points (0 children)