willfried
Gast
Hallo Forum,
Wie kann ich in AppleScript allen Files in einem Folder ein neues Änderungsdatum geben? Mit folgendem Code bekomme ich leider einen Stack Overflow in der fett gedruckten Zeile:
tell application "Finder" to set the source_folder to (folder of the front window) as alias
set the item_list to list folder source_folder without invisibles
repeat with i from 1 to number of items in the item_list
Wie kann ich in AppleScript allen Files in einem Folder ein neues Änderungsdatum geben? Mit folgendem Code bekomme ich leider einen Stack Overflow in der fett gedruckten Zeile:
tell application "Finder" to set the source_folder to (folder of the front window) as alias
set the item_list to list folder source_folder without invisibles
repeat with i from 1 to number of items in the item_list
set this_item to item i of the item_list
set this_item to (source_folder & this_item) as alias
set modification date of this_item to (current date)
end repeatset this_item to (source_folder & this_item) as alias
set modification date of this_item to (current date)