Re: Reading and writing Finder preferences
Re: Reading and writing Finder preferences
- Subject: Re: Reading and writing Finder preferences
- From: Axel Lüttgens via AppleScript-Users <email@hidden>
- Date: Sat, 21 Aug 2021 13:46:13 +0200
- Ironport-hdrordr: A9a23:fqA8qaHIvQdG2r0XpLqE/8eALOsnbusQ8zAXPiFKOHlom6mj/P xG88506faZslsssRIb6LK90cu7K080nKQdibX5W43CYOCMggSVxe9ZgbcLxVXbak7DHuo078 ddT5Q=
- Ironport-phdr: A9a23:xy9S+haZf65bZnYccqUBu3T/LTEm0IqcDmcuAnoPtbtCf+yZ8oj4O wSHvLMx1gePBN2DoKMZw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzH cBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94PPbwlSmTaxfa9+I BqyoAjRq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ 7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4 qF2QxHqlSgHLSY0/mHLhcJ/g61VvRyvpxJhzYHWY4+bM+Fzfr/EfdMfWWZBXtpdWi5HD4ihb 4UPFe0BPeNAooThqFoBsx++ChGqCvvz1j9ImnD20rM80+Q6DArL2xYvHt0Qv3TQttn1MLoSU fypzKnH0zrDaehW1Czm6IjLchEhp++DXa5qfcXK10YiDgXIhUifpoL5JT2azPgNs3SF4Op6U +Kik20qpgFwrzWh2Mogl5TEi54Jxl3K6Ch03Zo5KcGlRUN1YdCoDZVduiCbOoZ4Qc4uX39kt Do1x7ACp5O2cicHxIghyhXCaPKHa5CF7g//WOuVOzt0mXxodK6lixu880Ws0OnxW8qy3V1Xt CRKiMPMuWoI1xHL78iHTeZy8Vm51DaU0gDT9vlEIUcplarHM5IhwqA/lp4UsUnbGiD6hUH7g LGMekk5++Wl6P7rbqj8qpKSMYB4kgD+MqIwlcyjGek0LxQCUmyB9eih2rDv4Vf1TbtIg/Esl qTUs4jWJcEBqa64Bw9V3Jwj6xG6Dzq+ytsZkmcILFZfdBKDkojpJ03OIP/mAve5mFShiyxrx /PGP73nHJrNMmLPn6z/crpl8U5T1BIzzcxD55JTErwOOurzWlf1tNPGFR82Lxa0w+f/CNVhz 48eRHmPDbGDMKPJqlKI4uMvI/KQZI8OojryMeAl5+bqjXAng1MSYa6p3Z5EIEy/S/19Pg3Na GL0htoaGn0LphZ7UffnkkaqVT9Ie230Vrok4jx9A4WjW9TtXIeo1ZWR0SOMOglKem9LDEvER X74eoHCX+oQdC2fJNRJiT8VU7W9DYUsg0L9/DTmwqZqe7KHshYTsojugYAd2g==
- Ironport-sdr: rsBjmvW+q+bn2LNF+Lp/Nhp7HpPPH6ctqnfPM3Fa8SqAYlDDgTowZl9A5WCN9rc3yqJGj2nWRA 1HeaWLZzVRoFe5mPfgvYiYoj8POk4cKiuGgXQo7q6oFubrf0jqI/EjHEL667sLyprFlQ8csl1E ogYyJSd7LLxDuqP0vBPgTBoJsrbtebz7LSU01B60Izwe0r3XsPWZSdtGZ2ZZCFGgSrpCOVvaFQ QOvayJptSUmq6lp9/Q7/TX3MmOZUXWj8bN9qzDtDzxbEVMfdk3j4gD0topKOT/syOf1J+NeJq/ syM=
> Le 21 août 2021 à 13:23, Jeremy Roussak a écrit :
>
> What is the syntax to get and set Finder preferences? I’d like to be able to
> read the “folders open in new tabs” setting. I’m sure I must be missing
> something simple.
Hello Jeremy,
This works here (Mojave):
Getting all preferences at once:
tell application "Finder"
properties of Finder preferences
end tell
Getting a single preference:
tell application "Finder"
folders open in new tabs of Finder preferences
end tell
Setting a writable preference:
tell application "Finder"
set folders open in new tabs of Finder preferences to true
end tell
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden