Some Time I Need a very temporary folder for paste some data from my pen drive where The Folder name is not so important. so I create a very small script. This the first script created by me by the way. The script Create a folder, name it Quickfolder & Open the folder. Here is the script it self:
function OnClick(clickData)
{
var cmd = clickData.func.command;
cmd.deselect = false; // Prevent automatic deselection
// --------------------------------------------------------
cmd.RunCommand("CreateFolder Name=QuicFolder READAUTO");
// --------------------------------------------------------
}
In the same location If I create a QuickFolder before Then the script does not create one more QuickFolder (1)
folder in the same location when I try to create the 2nd folder. Now I have to add some If formula like If any folder already exists in the same location with the name of Quickfolder
Then Add an incrementing number after the folder name like QuickFolder (1)
QuickFolder (2)
QuickFolder (3)
and so on. How to do that?