fabianmaass.de - just another random blog

Example domain paragraphs

If anyone has the desire to automate forum posts for whatever reasons, here is a bash script that will do:

Sometimes you need to provide user input to your textmate scripts. The usual cocoa inputs as described in the textmate manual don’t work in a bash environment, therefor a wrapper is needed. One way to do this, is to use the library CocoaDialog . After the initial setup, as described here in the documentation we are able to call a dialog from the command shell which can now be exploited in our scripts.

An example command to replace a placeholder in your textmate file with iterating numbers (more dialog examples can be found on the cocoadialog examples page):