I was getting tired of having to open Notepad to paste text into a file and then saving it as a text file in the current folder and Edit -> Paste Special -> Paste Text into New File didn't provide enough flexibility so I made a script that did the job just right.
Code: Select all
"Save Text" $a = input("Enter Text",,, "m",,640,500);
$b = input("Enter Name");
writefile("<curpath>\$b.txt", "$a");
First line pops up a text area where you can enter your text, second line asks you for the name you wish this file to have and third writes it to a folder you're currently in. It's not spectacular, but it's what I want and it works. I hope that for some of you it may be useful.
Now if only those scripting windows can be minimised and scripting error popups supressed...
P.S. While I was at it, I also needed to see List of Functions so I created a script to dump it to text file too
Code: Select all
"Dump list of functions to file" #705;
writefile("<curpath>\ListOfFunctions.txt", <clipboard>);
It's a little annoying that when calling this function from a script it comes up with notices of what it's going to do and what it has done, but Don made it so so there must be a reason
![Smile :)](./images/smilies/icon_smile.gif)