set desktopsStr to do shell script "/usr/local/bin/screenresolution get 2>&1 | grep Display | sed -E 's/.+Display ([0-9]+): ([0-9]+)x([0-9]+)x([0-9]+)@([0-9]+)/\\1, \\2, \\3, \\4, \\5/g' | tr '\\n' '|'  | sed -E 's/\\|$//'"