The simplest approach would be to assign a hotkey such as <super>+n or <super>+<F8> to your phrase and/or an abbreviation such as "!n". Either would work by itself and both are fairly unlikely to occur "in nature" to trigger the phrase when it is undesired.
Always try your hotkey by itself before using it in AutoKey to make
sure it's not already assigned to do something else in your system. The
newer versions of KDE assign a ton of hotkey combinations to relatively
obscure functions and KDE usually gets priority over AutoKey as to who
owns a hotkey.
Also, if you only want your phrase (or script) to work in certain applications, you can set the window filter option to match the class OR title of the respective windows. That's a bit trickier to get right, so ask about that if it's appropriate for your situation.
If you need more complex triggering or other behavior, you will have to switch from a phrase to a script, but implementing triggers that depend on sequential actions of any type gets complex pretty quickly unless you don't mind responding to a pop-up dialog of some sort.
On another note, 0.95.10 has been out for around two years, so you should see if that is available via OpenSuse. It has some bug fixes, etc.
If you are a bit adventurous, you can install 0.95.10 using pip with instructions here.
We also have an enhanced new version, 0.96.0 Beta 10 which, as the name suggests, is still a beta release, but it's quite stable and we'd really appreciate feedback from someone using it on OpenSuse. It contains a lot of bug fixes and several new features.
Joe
I think the issue here is that it's hotkey "or" abbreviation, not hotkey "and" abbreviation. The two don't work in conjunction.The simplest approach would be to assign a hotkey such as <super>+n or <super>+<F8> to your phrase and/or an abbreviation such as "!n". Either would work by itself and both are fairly unlikely to occur "in nature" to trigger the phrase when it is undesired.
Always try your hotkey by itself before using it in AutoKey to make sure it's not already assigned to do something else in your system. The newer versions of KDE assign a ton of hotkey combinations to relatively obscure functions and KDE usually gets priority over AutoKey as to who owns a hotkey.
Also, if you only want your phrase (or script) to work in certain applications, you can set the window filter option to match the class OR title of the respective windows. That's a bit trickier to get right, so ask about that if it's appropriate for your situation.
If you need more complex triggering or other behavior, you will have to switch from a phrase to a script, but implementing triggers that depend on sequential actions of any type gets complex pretty quickly unless you don't mind responding to a pop-up dialog of some sort.
On another note, 0.95.10 has been out for around two years, so you should see if that is available via OpenSuse. It has some bug fixes, etc.
If you are a bit adventurous, you can install 0.95.10 using pip with instructions here.
We also have an enhanced new version, 0.96.0 Beta 10 which, as the name suggests, is still a beta release, but it's quite stable and we'd really appreciate feedback from someone using it on OpenSuse. It contains a lot of bug fixes and several new features.
Joe
On Tuesday, April 12, 2022 at 5:18:13 AM UTC-4 Albrecht Mehl wrote:Autokey 0.95.9 has been newly installed on opensuse linux 15.3., kde.
As of now it should be used only for inserting preselected phrases.
As an example the abbreviation and hotkey
n Albrecht Mehl F8
were chosen. So I would like to write
my name is n<F8> and get
my name is Albrecht Mehl
BUT whatever the preferences are this does not work, e.g. the 'n' is not
erased even though 'Remove typed abbreviation' is checked.
So I would be
very thankfull to get the exact settings for the set abbreviations
window for my simple needs. So far my choice is
Trigger on all non-word
Only 'remove typed abbreviation' checked
There is no need for using the case of the typed abbrevition.
Probably my question is a very simple one ... but I cannot help.
Albrecht
--
You received this message because you are subscribed to the Google Groups "autokey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autokey-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autokey-users/d40c0652-9a65-48d2-8fee-77f3cf6d69cbn%40googlegroups.com.