I would like to create shortcuts to "zoom" my Finder window text size.
I have tried in AppleScript
tell application "Finder"
if text size of list view options of front window = 10 then
set text size of list view options of front window to 16
else
set text size of list view options of front window to 10
end if
end tell
which works but I cannot see the change until I "refresh" the window by closing and re-opening it.
I tried adding
update items of front window
but this does nothing.
Any way to do this elegantly?
I'm on El Capitan.