title: Loop happens when trying to add string to a filename via AppleScript
body: <p>I am trying to write an AppleScript that can add the current time to a folder's name.</p>
  <pre><code>on adding folder items to this_folder after receiving these_items
      repeat with this_item in these_items
          tell application &quot;Finder&quot;
              set t to (time string of (current date))
              set name of this_item to (t &amp; &quot; &quot; &amp; (name of this_item))
          end tell
      end repeat
  end adding folder items to
  </code></pre>
  <p>I have added the script as a Folder Action for a specific folder so it will automatically rename every folder that is being put into it. But when I add a folder to the one with the script as a Folder Action the time is being added repeatedly until the folder's name is too long to add more characters to it. How can I make it so the time is only being added once?</p>
  <p>Thank you in advance!</p>