Can bash be used for stuff like this?

Forum rules
Before you post please read how to get help
Post Reply
fs0ciety
Level 1
Level 1
Posts: 15
Joined: Tue Mar 26, 2019 1:46 am

Can bash be used for stuff like this?

Post by fs0ciety »

I'm kinda new to bash, when I was still on Windows I used Autohotkey to automate shit.

For example, I had a script that if I pressed CTL + 1, it would push the F5 key every 5 seconds, and if I pressed CTRL + 2 it would stop.

Can that be done in bash? Or would I need to use python?
secureIT
Level 4
Level 4
Posts: 288
Joined: Wed Dec 05, 2018 1:26 pm

Re: Can bash be used for stuff like this?

Post by secureIT »

Dont worry about scripts and bash for autohotkey tasks.
Try actiona.
This is a task automation tool which can be used in both Linux and Windows. It allows you to create and execute action lists. You don't need to know any programming language to use it.
It comes with an intuitive interface that allows you to create action lists (scripts) using drag & drop.
Much Features, that includes emulate clicks, key presses, play a sound, read the content of a file, download a file or a webpage, etc.
try it :
you can get it from the repos :

Code: Select all

apt install actiona
.
fs0ciety
Level 1
Level 1
Posts: 15
Joined: Tue Mar 26, 2019 1:46 am

Re: Can bash be used for stuff like this?

Post by fs0ciety »

Thanks!
TI58C
Level 4
Level 4
Posts: 354
Joined: Tue Jul 18, 2017 5:57 am

Re: Can bash be used for stuff like this?

Post by TI58C »

Or take a look at autokey if you like python

Robert
Linux is like my late labrador lady-dog: loyal and loving if you treat her lady-like, disbehaving princess if you don't.
Post Reply

Return to “Scripts & Bash”