poochie89 / SnipDo-Extensions

SnipDo extensions and advanced guide
137 stars 1 forks source link

Ability to set conditions to show button #41

Closed emvaized closed 1 year ago

emvaized commented 1 year ago

Is there any way to set a condition when certain button will be shown on panel? For example, if I want to show button only when selected text contains some defined keyword?

poochie89 commented 1 year ago

Yes, thats possible. You can define a regex in the extension file See:

https://github.com/poochie89/SnipDo-Extensions#action-definition

emvaized commented 1 year ago

Okay, thanks! And is there a way to define button to show only for input fields?

poochie89 commented 1 year ago

Nope thats not possible

emvaized commented 1 year ago

Okay, got it. Thanks!