Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

AHK in Linux?


  • Please log in to reply
86 replies to this topic
jeffrey296
  • Members
  • 8 posts
  • Last active: Dec 22 2008 10:57 PM
  • Joined: 18 Jul 2008
Ok, I can try to learn in my spare time, but there's not much of it due to the 5 other projects I have going on right now, all of which are as big as this one. Oh, and to answer your question "What else?," I would be referring to Java or some random Linux language that I'm not familiar with. There's also old crap like VB and stuff.
Well I'll post with updates on my progress.
Jeff

John W
  • Members
  • 172 posts
  • Last active: Mar 07 2009 05:40 PM
  • Joined: 09 Apr 2007
Got another idea: we could make a programme that translates ahk to bash/C++/Python - I think it would be fast, too, and the programmes could be used on much more systems - recompile and run!
For this we only need to find commands in those languages that can be used instead of the ahk commands - for example a process could be killed with the line "killall processname" - with some extended features like regular expressions, case-insensitive search - we should have a try, shouldn't we?
COMPLETELY INACTIVE - I do not use AHK anymore.

jeffrey296
  • Members
  • 8 posts
  • Last active: Dec 22 2008 10:57 PM
  • Joined: 18 Jul 2008
Sounds good to me, only once again I know nothing in CSS/Bash/Python. I'm even busier than I thought it would be, so I won't be much help right now. Keep posting with updates though and when I can finally help I'll try to.
Jeff

giovanigonzales
  • Members
  • 3 posts
  • Last active: Sep 11 2009 11:40 AM
  • Joined: 30 Jan 2008

AHK is so marvelous! It needs a Linux version...

We should work to make a version to Linux... It would be great! It would be fantastic!

I can´t stand that there´s a super-interesting app for windows that do not have for linux...


Totaly agree. What are the developers waiting for, by the way ? The project is open source so it should be relatively easy to convert it for Linux

John W
  • Members
  • 172 posts
  • Last active: Mar 07 2009 05:40 PM
  • Joined: 09 Apr 2007
I read two books in the last two weeks: One about Shell-Scripting and one about Python.
If I compare them with C++, I can say:

C++:
Fast, portable, but has to be re-compiled for every system.

Shell:
Different shells offer different commands, e.g. the Bash has more commands than the ksh, which has more commands than some other shells.

Python:
Easy to learn, write and read, fast execution, hasn't to be re-compiled for every system.

So I would write it in Python, or a AHK-Python-Converter - we should vote.
COMPLETELY INACTIVE - I do not use AHK anymore.

  • Guests
  • Last active:
  • Joined: --

So I would write it in Python, or a AHK-Python-Converter - we should vote.

not that powerful as much as ahk does but Python has similar module called PyWinauto

my_name_is_uwe
  • Guests
  • Last active:
  • Joined: --
AHK and Wine works perfectly together.

jeffrey296
  • Members
  • 8 posts
  • Last active: Dec 22 2008 10:57 PM
  • Joined: 18 Jul 2008
Python works for me (that's what I'm learning to code right now), but it doesn't seem like it would be powerful enough. If I'm wrong please correct me. And in response to the last comment posted, AHK does not work with Wine if you are trying to use a hotkey (such as Ctrl+Shift+B or something like that).
Jeff

n-l-i-d
  • Guests
  • Last active:
  • Joined: --
See: IronAHK - .NET port of AutoHotkey for Windows, Linux, Mac (work in progress)

HTH

rjwilmsi
  • Members
  • 30 posts
  • Last active: Nov 21 2012 12:40 PM
  • Joined: 18 May 2005
See also http://autokey.sourceforge.net/ - supports hotstrings

  • Guests
  • Last active:
  • Joined: --
There is currently no good solution for Linux gui automatition including IronAHK which claims to be the one (probably due to the lack of understanding of dotNet issues, developing status and GUI things on platforms other then Windows)

There are several GUI framework used and there is lack of standardization seen in corporal operating systems like MS Windows.

There are some efforts in Linux community in this manner, for instance AT-SPI and you can see one automation framework taking advantage of it, DogTail

Of course, lets not forget that Linux users were always more console oriented then GUI oriented, and that you can do every thing in the system using console, contrary to Windows. In such manner, expect is the main automation tool for Linux with more then enough features for advanced scenarios.

  • Guests
  • Last active:
  • Joined: --
If you're wanting GUI automation, check out xdotool. Combined with shell scripts, it has much of the functionality of AHK in that area, including window management. The most notable omissions are image and pixel searching.

http://www.semicompl...ojects/xdotool/

momme
  • Members
  • 5 posts
  • Last active: Apr 29 2009 02:00 PM
  • Joined: 23 May 2006
http://easystroke.wiki.sourceforge.net
works great, xautomation i have to try

regards

Momme

Matt Lertora
  • Guests
  • Last active:
  • Joined: --

Hi Community,

The most important Linux-GUI-Scripting-Tool:
http://www.tcl.tk/

Here a Linux-Macro-Tool for recording and replaying keyboard and mouse events on an X server:
http://home.sch.bme....eresztg/xmacro/

Here is a tool to manage X-windows:
http://www.burtonini...uters/devilspie

And here another one:
http://sweb.cz/tripie/utils/wmctrl/

Here is a program that allows you to launch shell commands with your keyboard or your mouse under X Window:
http://hocwp.free.fr.../xbindkeys.html

Here a FVWM related GUI Scripting Tool:
http://www.fvwm.org/.../FvwmScript.php

trans-platform scripting language:
http://regina-rexx.sourceforge.net/

Perhaps this might be useful too:
http://killerbob.ca/...o/inetkeys.html

Best regards.

schlemihl1277



Here's how I replaced in Linux the AutoHotkey functionality that I used: http://matt-l.blogsp...nux-how-to.html
Thanks schlemihl1277!

momme
  • Members
  • 5 posts
  • Last active: Apr 29 2009 02:00 PM
  • Joined: 23 May 2006
It is broken in Jaunty, i hope, they fix it soon :?

See also http://autokey.sourceforge.net/ - supports hotstrings