| View previous topic :: View next topic |
| Author |
Message |
Titan
Joined: 11 Aug 2004 Posts: 5390 Location: /b/
|
Posted: Wed May 30, 2007 10:17 pm Post subject: |
|
|
| guest123165451 wrote: | | AHK is so marvelous! It needs a Linux version... | jonny experimented with Wine a couple years ago and managed to get a few things working. _________________
 |
|
| Back to top |
|
 |
ahk_fan
Joined: 03 Sep 2006 Posts: 8
|
Posted: Sat Jun 02, 2007 9:08 pm Post subject: AHK on Linux not so necessary |
|
|
One of the reasons AHK is so brilliant and useful in Windows land is that windows was, by and large, designed to be used interactively and not automated. AHK fills a hole by allowing you to automate previously "unautomatable" things.
In Linux and most un*x's, automation and scripting is a core concept. You can accomplish anything you want at the command line, so there is less of a need for AHK.
If you are trying to automate a linux GUI program, you should probably dig a little deeper, chances are that GUI was just written to put a friendly face on a command line that will everything you want and more, if you learn it. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3652 Location: Belgrade
|
Posted: Sun Jun 03, 2007 1:28 pm Post subject: |
|
|
in console there is command "expect" that can be used for automatition.
I didn't hear so far for GUI automatition sw on Lin, and I doubt anything sw specific can compensate that. _________________
 |
|
| Back to top |
|
 |
koantum
Joined: 16 Jun 2007 Posts: 2
|
Posted: Sat Jun 16, 2007 1:50 pm Post subject: |
|
|
| 14tonks wrote: | | If anyone knows of anything close to AHk on Linux or of anyone who would be inclined to make a stab at a port, I would dearly love to know. |
Me too! |
|
| Back to top |
|
 |
koantum
Joined: 16 Jun 2007 Posts: 2
|
Posted: Sat Jun 16, 2007 1:58 pm Post subject: Re: it would be great... |
|
|
| sesas wrote: | | guest123165451 wrote: | 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!... |
yeah!...
in linux I really miss the hotstrings feature... ('btw' = 'by the way') that's what most interest me on linux |
I agree 100%! |
|
| Back to top |
|
 |
Tarch
Joined: 23 Jun 2007 Posts: 87
|
Posted: Sun Jul 01, 2007 9:15 am Post subject: |
|
|
Hi,
there is xautomation for example that can send mouse events and keyboard events. You have to combine various programs/languages/libraries I think to get something similar to AHK.
In any case usually GNU/Linux has an inferior need (compared to windows) for GUI automation usually there is an alternative programmatic way to do the things.
Bye!  |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2436
|
Posted: Sun Jul 01, 2007 1:49 pm Post subject: |
|
|
| Tarch wrote: | | In any case usually GNU/Linux has an inferior need (compared to windows) for GUI automation usually there is an alternative programmatic way to do the things. | I use Linux also and disagree. |
|
| Back to top |
|
 |
Tarch
Joined: 23 Jun 2007 Posts: 87
|
Posted: Sun Jul 01, 2007 2:03 pm Post subject: |
|
|
I'm just curious...can you write what do you mean in a more detailed way please?
Bye!  |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2436
|
Posted: Sun Jul 01, 2007 2:48 pm Post subject: |
|
|
Not really. I thought I'd give about as much detail as 99% of Linux users normally do when they say that Linux is better at things like this. In other words, dodge the question... .
It's not that there's much missing in general but the ability to automate mouse clicks, keystrokes, read data from a text file in a strange format (usually one that's non-standard that has been generated by some proprietary application) then modify and feed that data into some other application, and most other general conversion/automation tasks are not usually practical, due to the amount of time required to program these tasks in many other languages. |
|
| Back to top |
|
 |
Tarch
Joined: 23 Jun 2007 Posts: 87
|
Posted: Sun Jul 01, 2007 5:40 pm Post subject: |
|
|
Ok,
now I better understand (I personally try to judge things as objectivest as possible...obviously I'm very far from perfection ... in any case if I prefer something I try to give motivations because I think to say that "something is better" because "is better" it has not so much sense imho)! Glueing some things you probably be able to do the things you do with AHK, obviously a programming language like AHK would simplify the way you do these things. What I meant in the previous post is only that windows is born primarily as a GUI oriented os whether all the *nix (in this case GNU/Linux) are born with a more command line oriented approach. If you see many program in GNU/Linux are command line tool with a GUI forntend to simplify the use wheter the largest part of the programs on windows are not or hardly separable from their GUI. So what I meant is that on GNU/Linux is probably easier to automate things because of the approach. I hope you understand better now! ^.^
Bye!  |
|
| Back to top |
|
 |
koch
Joined: 28 Apr 2007 Posts: 8 Location: Sweden
|
Posted: Tue Jul 17, 2007 11:41 pm Post subject: Re: AHK on Linux not so necessary |
|
|
| ahk_fan wrote: | In Linux and most un*x's, automation and scripting is a core concept. You can accomplish anything you want at the command line, so there is less of a need for AHK.
If you are trying to automate a linux GUI program, you should probably dig a little deeper, chances are that GUI was just written to put a friendly face on a command line that will everything you want and more, if you learn it. |
| Tarch wrote: | | In any case usually GNU/Linux has an inferior need (compared to windows) for GUI automation usually there is an alternative programmatic way to do the things. |
Disagree with you both. It's true that you don't need AHK in Linux because there are programs that can handle the things AHK can. But me and my friends have written som programs in AHK and now none of us are using Windows. Now we want a AHK version for Linux so that we can continue making programs in it. Mayby our next project will be AHK for Linux. _________________ Love AHK! |
|
| Back to top |
|
 |
AutoGuest Guest
|
Posted: Wed Jul 25, 2007 12:55 am Post subject: |
|
|
| The only problem of having AHK in linux is that so many functions are specific to windows which would mean a complete rewrite for linux. |
|
| Back to top |
|
 |
koch
Joined: 28 Apr 2007 Posts: 8 Location: Sweden
|
Posted: Wed Jul 25, 2007 1:01 am Post subject: |
|
|
| AutoGuest wrote: | | The only problem of having AHK in linux is that so many functions are specific to windows which would mean a complete rewrite for linux. |
That's to bad, well I just have to live without it then. _________________ Love AHK! |
|
| Back to top |
|
 |
AutoGuest Guest
|
Posted: Wed Jul 25, 2007 1:16 am Post subject: |
|
|
| koch wrote: | | AutoGuest wrote: | | The only problem of having AHK in linux is that so many functions are specific to windows which would mean a complete rewrite for linux. |
That's to bad, well I just have to live without it then. |
What about all of the other scripting tools that were listed above? They might not feature the same functions, but at least they get the job done. |
|
| Back to top |
|
 |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 302 Location: US
|
Posted: Sat Jul 28, 2007 4:41 am Post subject: |
|
|
Well AHK was made with VC++ and is probably packed with windows-specific stuff like windows tries to do. I've had some limited success on using wine by saving a .ahk file and using wine to run the "convert .ahk to .exe" program and compiling then running that exe file with wine. I realized I used the ChooseColor() function I found on the forum in one specific script I tested... It was weird because wine was able to emulate that .dll within it. I forgot that the same program also used COM to embed an IE control so of course that didn't work. Also on linux I've not seen an ahk-like language and I've also been trying to step up to something bigger like C++ or Python... I've not had much luck with learning either of them.
I adore linux so much! I'm a fan of the philosophy behind open-source and the GNU license (the points 0-3 are great). I had a book on linux from someone my mom works with which talked about the beginning of linux. I find it wonderful that I can satisfy most all of my needs program-wise by using the built-in "Add/Remove Programs" feature of linux (ubuntu). Because I know its virus-free and I have the freedom to choose from well over 1000 open source programs of all sorts rivalling most pricey programs.
That's enough rambling from me. _________________ Changed siggy at request of ahklerner  |
|
| Back to top |
|
 |
|