From 93c09b105901c59f3b867019b3daf83d52c31502 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 23 Nov 2011 17:19:51 +0000 Subject: [PATCH] Adds AutoIt --- autoit/README.md | 5 +++++ autoit/subject-is-dead.au3 | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 autoit/README.md create mode 100644 autoit/subject-is-dead.au3 diff --git a/autoit/README.md b/autoit/README.md new file mode 100644 index 0000000..a8be868 --- /dev/null +++ b/autoit/README.md @@ -0,0 +1,5 @@ +Compile using the AU3 Wrapper directives as used at the top of the file. + +The script defines a function that is called recursively. The forking quickly crashes AutoIt: + +![Subject is dead, long live Subject](http://i.imgur.com/TBD88.png) diff --git a/autoit/subject-is-dead.au3 b/autoit/subject-is-dead.au3 new file mode 100644 index 0000000..0bd3f24 --- /dev/null +++ b/autoit/subject-is-dead.au3 @@ -0,0 +1,9 @@ +#AutoIt3Wrapper_Compression=4 +#AutoIt3Wrapper_Change2CUI=y +#AutoIt3Wrapper_AU3Check_Stop_OnWarning=y + +$subject = "[Subject] is dead, long live [Subject]" +While 1 + $Subject = StringRegExpReplace($subject, "\[Subject\]", $subject) + ConsoleWrite($Subject) +WEnd \ No newline at end of file