Any scripting prog like AutoIt for Linux?

  • Thread starter Thread starter john p.
  • Start date Start date
J

john p.

Does anyone know of a freeware scripting application like AutoIt for
the Linux environment? If not, any other macro type progs for Linux?
Thanks.
 
john said:
Does anyone know of a freeware scripting application like AutoIt for
the Linux environment? If not, any other macro type progs for Linux?

How familiar are you with Linux?
 
Does anyone know of a freeware scripting application like AutoIt for
the Linux environment? If not, any other macro type progs for Linux?

I recommend that you ask in Explain that
you want to write scripts to open and close existing graphical
applications (not to create your own) and send keystrokes to their
windows to control them. It wouldn't hurt to mention which window
manager you prefer (KDE or Gnome perhaps?).
 
I recommend that you ask in Explain that
you want to write scripts to open and close existing graphical
applications (not to create your own) and send keystrokes to their
windows to control them. It wouldn't hurt to mention which window
manager you prefer (KDE or Gnome perhaps?).

Thanks. KDE, BTW.
 
Just starting. (But a fast learner.)

Are you sure AutoIt can't be used in Linux? Something at the back of
my mind tells me that it might be cross-platform. Hmmm, I'll have to
check into that.
 
Are you sure AutoIt can't be used in Linux? Something at the back of
my mind tells me that it might be cross-platform. Hmmm, I'll have to
check into that.

Never occurred to me to check that. But wouldn't a lot of AutoIt's
functionality depend on Windows API's?
 
Never occurred to me to check that. But wouldn't a lot of AutoIt's
functionality depend on Windows API's?

I don't know what API's are, but I imagine what you mean is that
syntax might be OS-dependent?? I would imagine that if AI _is_
cross-platform, that syntax, indeed, would depend on the OS. But as
various script writers for AI would record mouse and key movements, if
any of _those_ are also cross platform, perhaps it's a moot point??

Sorry, haven't looked into this or not so I'm still not sure about the
OS thing. As soon as I get a chance, I'll ask.
 
Are you sure AutoIt can't be used in Linux? Something at the back of
my mind tells me that it might be cross-platform. Hmmm, I'll have to
check into that.

Nope - Windows only. Just checked their site for version 3.
 
Just starting. (But a fast learner.)

If you're working at the command line, research the "bind" command
which is used to create macros and bind functions to keystrokes.

If you are using KDE, KDE allows you to customize keyboard shortcuts
to manipulate windows and activate the usual menu options on most
programs.

If that's not sufficient, the fvwm2 window manager goes even further
and allows moving the mouse pointer with keystrokes, among other
things.

However, it sounds like what you really need is KHotKeys which is a
tool in KDE for binding keystrokes to issue commands in various ways,
including mouse gestures. You can also use it to access the "extra"
keys on multimedia keyboards. You need KDE 3.2 or higher, I think, to
get the most useful version of it. And there is almost no
documentation apparently although there is an example file. The home
page appears to be defunct as well. Lubos Lunak from Prague wrote it
way back I guess around 1999 and I guess it was dormant for quite a
while, then was improved for KDE 3.2.

I Googled for info on it and found a lot of references to it and some
example configuration files to do certain things, but almost no
documentation on how to use it in general. It uses a configuration
file in your home directory called:

$HOME/.kde/share/config/khotkeysrc (where $HOME is your home
directory).

You edit this file by going to the KDE Control Center -> Regional &
Accessibility -> KHotKeys

Hope this helps.
 
Back
Top