Ok… so the situation is that I use Eclipse as a Java IDE
Problem: I can’t seem to find a way to make a template so that I can just open a new file and have it pre-load the code
Solution: I can basically made a macro in applescript that at the push of a button, copies the necessary text from a TextEdit document into Eclipse
Problem: Sometimes the applescript messes up and doesn’t execute correctly - I believe that this is due to the fact that the script is dependent on TextEdit
Question: Is there a way to store the code in AppleScript so that I can just paste it without having to open TextEdit?