Did i send this? I'm not sure. maybe there's some confusion with an
outdated E-Mail-account and a forwardint to it. So please excuse me if
it was double-sent.
Given a folders name (Jobname) is "123" and the items in the folder are
{"01", "02", "Bilder", "Korrekturabzug", "Vorlagen"}
from the following code i get
{"02", "123-123-01", "123-Bilder", "123-Korrekturabzug",
"123-Vorlagen"}.
What did i do wrong?
Holger
code:
set theFolder to folder Jobname of desktop
repeat with i from 1 to count of items in theFolder
set theItem to item i of theFolder
set OldItemName to name of theItem
set NewItemName to Jobname & "-" & OldItemName
set name of theItem to NewItemName
end repeat