How to create multiple folders with AppleScript

For a project I needed create 5000 folders. Needless to say that I certainly did not want to do this manually. After searching on Google I combined two AppleScripts. This new script creates multiple folders in the front window.

try
tell application “Finder” to set the this_folder ¬
to (folder of the front window) as alias
on error — no open folder windows
set the this_folder to path to desktop folder as alias
end try
repeat with i from 1 to 100
tell application “Finder”
make new folder at this_folder with properties {name:”xyz” & i}
end tell
end repeat

Comment Spam

Allowing visitors to your website to post comments is a great way to allow interaction between visitors. However, it is also used by spammers. The most recent strategy for comment spam is to make a generic positive comment and hope that this form of flattery will go by undetected. Here is an example:

“This is a good post, which features worthwhile information. If you invest your time in reading this, article it really worth it. This article starts in a perfect way. The author has full grip on the topic through out the article. I like the way in which writer has ended his article. It is not a regular useless post in which even writer is not sure that what exactly he wants to say.”

This text was an actual comment to one of my posts. It is difficult for spam filters to flag this kind of comments and I am getting a bit annoyed. Please spammers, stop posting! We all like flattery, but we are not stupid!