Page 2 of 3

Posted: 2009-08-27, 21:33 UTC
by Balderstrom
@Boofo, don't listen to StatusQuo... AHK is addictive and will suck up huge amounts of time playing with it!

Posted: 2009-08-27, 21:46 UTC
by Boofo
2Balderstrom,

It all looks greek to me. ;)

Posted: 2009-08-27, 22:26 UTC
by StatusQuo
2Balderstrom
Yep. ;)

Posted: 2009-08-27, 22:29 UTC
by Boofo
I have been using AutoIt v3 and I see AutoHotkey uses a form of their compiler. Which one is actually the better one?

Posted: 2009-08-27, 22:55 UTC
by Balderstrom
*chuckle* AutoHotKey origins came from AutoIT v2
AutoHotKey IMHO is a better program because of its' easier syntax and better HotKey and Alias functionality.

They have a lot in common these days, and depending on who you ask you will get a different answer. AHK remains open source, and their forums tend to be friendlier.

Posted: 2009-08-28, 00:53 UTC
by StatusQuo
I'd say about the same: I like AHK's syntax better, but that's just a matter of taste.
Their forum (plus quite a few users here) and the open source status made me choose AHK.

For the script above: I added a fix in the wiki
(getting the window title failed under some special conditions, making TC's program name etc. disappear from the title, until TC was minimized or restarted).

Posted: 2009-08-28, 03:47 UTC
by Boofo
2StatusQuo,

Thanks for the update. ;)

How do you run the short name option?

Posted: 2009-08-28, 11:04 UTC
by StatusQuo
How do you run the short name option?
Currently by editing the script, in line 5 change the value from ":= 0" to ":= 1":

Code: Select all

boShortenTcName    := 0	; 1 = replace "Total Commander" with "TC"
I set the default to 0, because some people/scripts may rely on the original title.

Posted: 2009-08-28, 14:42 UTC
by Boofo
2StatusQuo,

Thank you, sir. I was thinking you meant a command line option when running the script.

Posted: 2009-08-31, 14:18 UTC
by StatusQuo
2Boofo
I assumed this to be a one-time setting, so I didn't add a command line switch for it. Is that OK?

BTW, to use command line switches for uncompiled AHK scripts, you would have to change *.ahk file association from

Code: Select all

autohotkey.exe "%1"
to

Code: Select all

autohotkey.exe "%1" %*

Posted: 2009-08-31, 14:33 UTC
by Boofo
2StatusQuo,

That's fine. I wasn't complaining. I am new to AHK so I wasn't quite sure how it works yet. I'm still learning. ;)

Posted: 2009-08-31, 18:32 UTC
by Balderstrom
I told you it would suck you in Boofo!! :twisted:
My persistent AHK script is 993 lines long hehe (And I'm still learning interesting tricks).

It still hasn't replaced CMD.exe for me though, as it doesn't interface cleanly with command-line utilities without what seems like a hackish workaround - for the purposes of pipes.

Posted: 2009-08-31, 18:38 UTC
by Boofo
I'm still working on getting it to type my name to the screen. I'm on a roll! ;)

Posted: 2009-09-09, 23:47 UTC
by StatusQuo
To get back to the topic:
The current tab still doesn't show a path tooltip, while inactive ones do, when hovered with the mouse.

How about adding the existing tooltip also for the current tab in a future version?

Posted: 2009-09-10, 00:03 UTC
by Boofo
I would like to see that, also.

Support++