why don't more programming languages have builtin interfaces to the window manager?

Posted by Naveen on Stack Overflow See other posts from Stack Overflow or by Naveen
Published on 2009-06-19T21:46:30Z Indexed on 2010/05/22 21:21 UTC
Read the original article Hit count: 191

Programming is at the heart about automating tasks on a computer.
Presumably those tasks would normally be done manually by a human.
Humans use the computer through the keyboard, mouse, and interaction with the console or the window manager.
But very few languages have built in functions that provide an interface to these basic computing objects.

A notable exception is autohotkey, an open source language on windows, providing builtin functions that allow the following simple tasks:
* Get Pixel Information
* Get mouse position
* Keyboard macros
* Simulate key strokes
* Simulate mouse click
* Window management
See examples on rosettacode.

There have been various attempts on linux, many of which were stopped without explanation. One is the inactive tcl library: android. Search google code for android, lang:tcl

© Stack Overflow or respective owner

Related posts about automation

Related posts about x11