Hotkey assign?

Post here if you need help using Actiona
Post Reply
raysa
Posts: 4
Joined: 04 May 2017, 20:00

Hotkey assign?

Post by raysa »

Can a script be assigned to a hotkey? I wish to perform some repetitive edits at various places in text files, and I put the cursor to where I want the edit, but then how do I trigger Actiona to perform the edits without leaving the text file to execute Actiona?
Thanks for any help.
eureka
Posts: 204
Joined: 08 Mar 2016, 22:18

Re: Hotkey assign?

Post by eureka »

I'm using Actiona myself to automate a local development workflow.
I can see that your requested feature would be useful for automating editing so I decided to explore how I might build this into my own workflow.

But the Actiona action "Key" is designed to emulate key presses.

After digging around further I found that using a clipboard manager might achieve the desired effect.
I decided to try CopyQ.

https://github.com/hluk/CopyQ/releases

For my Ubuntu 16.04 I installed this release ...

https://github.com/hluk/CopyQ/releases/ ... _amd64.deb

and installed using GDebi Package Installer.

Now I can setup a number of text clips and with editor open simply select the clip to paste from a CopyQ drop down menu in top bar.

I did find a way to do this in Actiona but CopyQ seems easier to deploy.

Also copyq can be controlled from an Actiona running script.

Here are some commands I found.

https://github.com/hluk/CopyQ/wiki/Command-Examples

So to conclude I suggest using Actiona script to interact with and control CopyQ. At least that is my current thought.
raysa
Posts: 4
Joined: 04 May 2017, 20:00

Re: Hotkey assign?

Post by raysa »

This is very helpful, eureka - thank you.
Ray
Post Reply