tell application "System Events"
set visible of every process to false
end tell
tell application "Finder"
activate
close every window
repeat with i from 1 to 1
set arrangement of icon view options of window of desktop to arranged by kind
delay 0.25
set arrangement of icon view options of window of desktop to arranged by name
set arrangement of icon view options of window of desktop to arranged by size
set arrangement of icon view options of window of desktop to arranged by creation date
set arrangement of icon view options of window of desktop to arranged by modification date
end repeat
Your email is never published nor shared. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
CAPTCHA: 7 − = four
Notify me of followup comments via e-mail
Subscribe without commenting E-Mail:
AppleScript Finder Terror
tell application "System Events"
set visible of every process to false
end tell
tell application "Finder"
activate
close every window
repeat with i from 1 to 1
set arrangement of icon view options of window of desktop to arranged by kind
delay 0.25
set arrangement of icon view options of window of desktop to arranged by name
delay 0.25
set arrangement of icon view options of window of desktop to arranged by size
delay 0.25
set arrangement of icon view options of window of desktop to arranged by creation date
delay 0.25
set arrangement of icon view options of window of desktop to arranged by modification date
delay 0.25
set arrangement of icon view options of window of desktop to arranged by kind
delay 0.25
end repeat
end tell