Is this possible (without too much effort)? I don't care much about the language used, as I have at least a basic understanding of all the possible candidates here. (I'm assuming Cocoa APIs will be required.) The program should, without any GUI if possible, find the Firefox window (if there are multiple, simply exit) and resize it to a pre-defined position (and width, and possibly height). Nothing more, nothing less. No arguments, no options, except those set at compile time. Any advice on how to do this?