diff --git a/extra/jheidi/addToWindowMenu.ajl b/extra/jheidi/addToWindowMenu.ajl
new file mode 100644
index 00000000..0aad95df
--- /dev/null
+++ b/extra/jheidi/addToWindowMenu.ajl
@@ -0,0 +1,66 @@
+import java.util.*;
+
+WindowContext context = argObj("windowContext");
+HashObject profile = context.get("profile");
+String profileName = profile.get("name");
+Frame thisFrame = context.get("/");
+
+// dont confuse Context (global context) with the variable context (the window context)
+HashObject windowList = Context.get("windowList");
+HashObject windowCounts = Context.get("windowCounts");
+if ( windowList == null )
+{
+ windowList = new HashObject();
+ windowCounts = new HashObject();
+ Context.putEnv("windowList", windowList);
+ Context.putEnv("windowCounts", windowCounts);
+}
+
+List