AutoHotkey Community

It is currently May 25th, 2012, 9:46 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: ahk alternative?
PostPosted: June 28th, 2007, 3:31 am 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
hello

I am not quite satisfied by ahk

is there any alternative?

apart from autoit

thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 3:39 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
Yes, turning off your PC :lol: :P .


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 1:45 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 3:05 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
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)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 3:16 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
What do you need that AutoHotkey doesn't provide?

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 3:29 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 7:07 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
Quote:
cant distinguish tray icons


Extract Informations about TrayIcons

Quote:
desktop icons


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.

:wink:

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 8:57 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 9:15 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
Ok, I'm on Win2k now, but usually the ToolbarWindow322 is the Taskbar. What exactly are you trying to close? Which tab, which application?

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 10:05 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 11:08 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
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.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 29th, 2007, 9:51 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2007, 1:01 am 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2007, 1:06 am 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
tab, or window?

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2007, 1:14 am 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
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")


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher and 7 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group