Automating tasks in Windows

Introduction

This article was started in August 2009 by comparing AutoHotKey (AHK), AutoIt, WinBatch, and KixStart but it might include other solutions later on.

AutoIT vs. AutoHotKey?

AutoIt was first released in 1999, with a lot of the syntax and ideas coming from ScriptIt, a Microsoft project itself based on WinBatch.

The core of AHK was written from scratch, but includes some AutoIt3 code to implement some commands.

The AutoIt community feels that the AHK author didn't give enough credit when forking the code, and since then, no love is lost from the AutoIt community towards AHK.

AutoIT…

AHK…

More infos:

AutoIT

Moved here.

AutoHotKey

Getting and displaying clipboard

Clipboard =

Send ^a

Send ^c

Stuff := Clipboard

MsgBox, Some title`n%Stuff%

Working with SQLite

;Download the sqlite3.dll and store it in the script's folder

 

;Download the following AHK include file from the AHK forum

#Include Class_SQLiteDB.ahk

 

MyDB := New SQLiteDB

MyDB.OpenDB("dummy.sqlite")

MyDB.Exec("CREATE TABLE IF NOT EXISTS MyTable (id INTEGER, data TEXT)")

MyDB.Exec("INSERT INTO MyTable VALUES (55, 'blablah')")

MyDB.CloseDB()

Winbatch

http://www.windowware.com

Why choose Winbatch?

KixStart

http://en.wikipedia.org/wiki/KiXtart

Why choose KixStart?

Resources