News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Autohotkey users here ?

Started by mitchi, April 13, 2009, 11:51:38 PM

Previous topic - Next topic

mitchi

Autohotkey is a very powerful tool to know. I use it in almost all the video games I play and I also use it to save time on Windows.
With my internet CGI project, I have a batch file to make .cgi files from my .exe file


del minichat.cgi
copy minichat.exe minichat.cgi

del inscription.cgi
copy inscription.exe inscription.cgi

del index.cgi
copy index.exe index.cgi

del viewtopic.cgi
copy viewtopic.exe viewtopic.cgi

del connexion.cgi
copy connexion.exe connexion.cgi

del sendreply.cgi
copy sendreply.exe sendreply.cgi

del newtopic.cgi
copy newtopic.exe newtopic.cgi


And I can make a hotkey to launch the batch file using one line of Autohotkey code.


;Script to launch the batch file. Hotkey is WINDOWSkey+S
#s::
Run MAKEminichat.bat

BlackVortex

You don't need those del commands, because when the "copy" command is executed from a batch file, it automatically overwrites any existing file.

And as far as automation languages go, I really prefer AutoIt, give it a try    :green 
http://www.autoitscript.com/AutoIt/

mitchi

I'll try AutoIt if you try Autohotkey  :bg

BlackVortex

But it has less features !  What's the point ?   :'(

mitchi

I have to seriously try AutoIt but Autohotkey really has all the features I need.
I'll try AutoIt with an open mind. If it's better than Authotkey, then that's great.

MichaelW

There is a MASM include file and import library for AutoitX3 in the attachment here:

http://www.masm32.com/board/index.php?topic=9163.0
eschew obfuscation

mitchi

I'm discovering AutoIt and it's a very decent package indeed ;)
I may be able to give a good comparison between Autohotkey and Autoit in a while ;)

AutoIt has a DLL with a C interface or COM interface that you can call from C, Assembly or any language that supports COM. This is nice!

Eddy

I use both AutoIt and AutoHotkey.
AutoIt mostly for (compiled) scripts that I call from a PowerBASIC application and Autohotkey for keyboard shortcuts: for example I type "[u" and Windows Explorer opens my U:\ drive, and simular things.

Kind regards
Eddy
www.devotechs.com - HIME: Huge Integer Math and Encryption library.
Eddy
www.devotechs.com -- HIME : Huge Integer Math and Encryption library--