 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Thu Jun 28, 2007 3:31 am Post subject: ahk alternative? |
|
|
hello
I am not quite satisfied by ahk
is there any alternative?
apart from autoit
thanks |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2397
|
Posted: Thu Jun 28, 2007 3:39 am Post subject: |
|
|
Yes, turning off your PC . |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Thu Jun 28, 2007 1:45 pm Post subject: |
|
|
You have bunch of alternatives, some of them to be (I used them all):
Commercial - WinRunner
Freeware/Shareware - Renorax 4 Python (and for .Net, C, C++)
Freeware/Shareware - Phantom _________________
 |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Thu Jun 28, 2007 3:05 pm Post subject: |
|
|
| majkinetor wrote: | | I used them all |
whats your opinion? is there anyone better than ahk? (even if it is better from ahk in some functions, not in general)
also, can you give me a more complete list or these are the best? (I dont care if they are commercial or freeware) |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 745 Location: Berlin
|
Posted: Thu Jun 28, 2007 3:16 pm Post subject: |
|
|
What do you need that AutoHotkey doesn't provide? _________________ (sorry, homesite offline atm) |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Thu Jun 28, 2007 3:29 pm Post subject: |
|
|
| daonlyfreez wrote: | | What do you need that AutoHotkey doesn't provide? |
I am very satisfied generally with ahk, but in some particular functions, I am not satisfied at all
for example, ahk:
cant distinguish tray icons, desktop icons, tabs in applications
cant handle well context menus
cant handle webpage elements
and many other things that I requested in the forums and there were no satisfying solution |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 745 Location: Berlin
|
Posted: Thu Jun 28, 2007 7:07 pm Post subject: |
|
|
| Quote: | | cant distinguish tray icons |
Extract Informations about TrayIcons
What exactly do you want? This? LVM_GETICONPOSITION
| Quote: | | tabs in applications |
Depends on the application. Whether it is a standard Tabcontrol, a MDI control with tabs, or a custom drawn control.
| Quote: | | cant handle well context menus |
What exactly do you mean with that? AHK supports context menus, but I guess you want to manipulate the context menu of another application. Which application exactly?
| Quote: | | cant handle webpage elements |
True, there is not yet a COM implementation for IE DOM, but it will probably be added someday. Other browsers are more difficult. In the meantime you can work around this with JavaScript/Bookmarklets.
| Quote: | | and many other things that I requested in the forums and there were no satisfying solution |
Ok, just don't give up too easily, and good luck finding another free and open source utility with the power and ease of use like AutoHotkey.
If you are more specific about your requests, and it turns out an enhancement to AHK could provide what you want, I'm quite sure a solution can be found eventually.
 _________________ (sorry, homesite offline atm) |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Thu Jun 28, 2007 8:57 pm Post subject: |
|
|
ok, lets say I want to close a tab with right click on it
| Code: | ~RButton::
MouseGetPos, , , , ctrl
If ctrl = ToolbarWindow322
{
Sleep, 50
Send, c
}
Return |
the above code works, but it depends on my pc load and in many times it doesnt work, plus it flashes the context menu |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 745 Location: Berlin
|
Posted: Thu Jun 28, 2007 9:15 pm Post subject: |
|
|
Ok, I'm on Win2k now, but usually the ToolbarWindow322 is the Taskbar. What exactly are you trying to close? Which tab, which application? _________________ (sorry, homesite offline atm) |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Thu Jun 28, 2007 10:05 pm Post subject: |
|
|
| daonlyfreez wrote: | | Ok, I'm on Win2k now, but usually the ToolbarWindow322 is the Taskbar. What exactly are you trying to close? Which tab, which application? |
any tab/application that has a tab in the taskbar |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Thu Jun 28, 2007 11:08 pm Post subject: |
|
|
in that case you can determine what window it is and ControlSend the window an !{F4}, so the right click menu shouldn't even have to pop up. But, you have to figure out when not to block the RButton from going through. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Fri Jun 29, 2007 9:51 am Post subject: |
|
|
azure, your reasons to change ahk are purely out of low knowledge of it.
AHK is pretty hard to learn once n00bish basics of the language are delt with. That is the bitter fact about this language. Basic things are extremely easy, easier then in all other scripts, advanced things are very hard, harder then in all other scritps, IMO.
| Quote: | for example, ahk:
cant distinguish tray icons, desktop icons, tabs in applications
cant handle well context menus
cant handle webpage elements |
- Tray icons module can be made today, that will allow you create destroy and be notified a bout tray events. Just nobody did it so far.
- Context menus with icons and fancy API is available as MMenu module
- Webpage elements can be handled also, there are planty of topics. In short, you have to set adequate jscript using bookmarklet mechanism.
| Quote: | | whats your opinion? is there anyone better than ahk? |
WinRunner and Ranorex are better, of course. Ranorex even have hotkey support (as I kindly asked them, so they added it in Pro version). WinRunner is basicly C with atuomatition, sometehing you can get with Ranorex too. Ranorex is not a language but library that can be used with any language. This makes it ultimate. Library is ported to C, C++, dotNet, and Python, perhaps other languages will be supported too. But something like AHK you get witn Ranorex+Python (script language, much much much more poverwull then AHK (and perhaps slower as of that,), see examples on Ranorex page)
Phantom is very different then anything else. It has Object Oriented kind of principles, and its not anything like AU3 or AHK. I used it extensively before I discovered AHK. In the mean time new version has been made with much better language ( for, switch loops etc..)
So, you may ask why I am still here, at AHK forum when there are better things?
Its because I love AHK, I don't know exactly why though. One of the reasons is definitely the fact that it outperforms most other scripts like AU3 and Phantom. Then there is this great community.
After all, most of the thing are matter of taste and domain. You should know what do you want from automation language, and see if its philosphy fits you and your habits/tastes... AHK literaly force you to think creatively as many things are not obvious or easy to get without overhating your brain. That challange is what keeps me here. _________________
 |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Sat Jun 30, 2007 1:01 am Post subject: |
|
|
| engunneer wrote: | | in that case you can determine what window it is and ControlSend the window an !{F4}, so the right click menu shouldn't even have to pop up. But, you have to figure out when not to block the RButton from going through. |
mm, I dont think it will work the way I want (to right click on any tab on the taskbar and make it close), but can you say how the above script should be? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Sat Jun 30, 2007 1:06 am Post subject: |
|
|
tab, or window? _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Sat Jun 30, 2007 1:14 am Post subject: |
|
|
| engunneer wrote: | | tab, or window? |
tabs are the little boxes of each window that are in the taskbar, right? you click them to activate the window and they display the window title
so, I want to right click on the tab of a window and to make the window close
(normaly right clicking on tab of the window makes the context menu appear, which says "restore, move, size, minimize, close") |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|