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 » Mon Apr 15, 2019 10:39 am

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?

User avatar
secureIT
Level 3
Level 3
Posts: 141
Joined: Wed Dec 05, 2018 1:26 pm

Re: Can bash be used for stuff like this?

Post by secureIT » Mon Apr 15, 2019 2:07 pm

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
In der Ruhe liegt die Kraft ! .......... The strenght is to be found in serenity !

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 » Mon Apr 15, 2019 2:49 pm

Thanks!

TI58C
Level 4
Level 4
Posts: 322
Joined: Tue Jul 18, 2017 5:57 am

Re: Can bash be used for stuff like this?

Post by TI58C » Sun Aug 11, 2019 12:10 pm

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”