moodymudskipper / tricks

An Addin to Easily Program and Trigger Actions
14 stars 1 forks source link

Deal with missing dependencies in tricks #23

Open moodymudskipper opened 2 years ago

moodymudskipper commented 2 years ago

Conditions which fail do so silently and return FALSE, doing otherwise might make some conditions more complicated and deal with frustrating situations where "nothing works anymore".

A consequence however is that when a required package is not installed the trick will simply be skipped.

I believe we should detect :: calls in conditions when triggering the hotkey, and in condition and action when installing. A warning would be displayed if package is not installed.