-- The size of icons displayed in Finder spatial view windows.

on mouseUp
  answer "The spatial view icon size of Finder is" && getSpatialViewIconSize()
end mouseUp

function getSpatialViewIconSize
  put "tell application" && quote & "Finder" & quote & return after scriptVar
  put indent(2) & "set response to spatial view icon size of Finder preferences" & return after scriptVar
  put indent(2) & "return (response as string)" & return after scriptVar
  put "end tell" after scriptVar
  do scriptVar as appleScript
  return the result
end getSpatialViewIconSize