Re: Scripting the Message Screensaver?
Re: Scripting the Message Screensaver?
- Subject: Re: Scripting the Message Screensaver?
- From: Axel Lüttgens via AppleScript-Users <email@hidden>
- Date: Mon, 23 Aug 2021 12:14:14 +0200
- Ironport-hdrordr: A9a23:rkYLA66lJZWNLMhwkwPXwPDXdLJyesId70hD6qkXc20sTiX4rb HWoB1/73XJYVkqOE3I9ergBEDiewK5yXcW2/h2AV7KZmCP1AWVxedZnO7fKlXbcBEWndQttp uIHZIOauEYXWIW4voTomGDYrEd/OU=
- Ironport-phdr: A9a23:t5kMFBI8HVm7KL7nztmcuMxmWUAX0o4c3iYr45Yqw4hDbr6kt8y7e hCFvbM01AKCB9yTwskHotKei7rnV20E7MTJm1E5W7sIaSU4j94LlRcrGs+PBB6zBvfraysnA JYKDwc9rDm0PkdPBcnxeUDZrGGs4j4OABX/Mhd+KvjoFoLIgMm7yfy+94fObwlUhDexbq1+I AirpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+V rxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4 aV2Rx/ykCoIKzE2/nzXhMNygqxVrwihqR9xw4DKZ4+YL+Z+frrYfd8GRWpNQsRcWipcCY28d YsPCO8BMP5EoojyuVQOqQOxCw+wHOPz1j9IiWH53ash0+88FgzJxgMhEMwKsHjOqNX1KbsSU fy6zKbWyzXDdOhb2Sz+6InIdBAuv+2MUahrfsXP0EQiER7OgVqMp4L/JTyVyvgNvHaB7+pmT e+ihXIqpgFwrzSyx8ohi5TEi5wJxl3a9Sh03Yk4KNO3RUJlbtOpEJ9duiKUOoV2TM4sTX1lt SU1x7AEuZO2fCgExZI6zBDRbPyHdpKH4hPlVOuJOjd3mGhld6yhiBa06kiv0PP8Wdeu0FpQs ipKiMLDu3YQ3BLQ8siKUuZx8lul1DqVygze5P1ILVo6mKfZMZIsxr09m5wOukrZBCD2gl/5j KqOe0Uh/ein9vrob639pp+ZK490kgb+MrkymsCnAeQ3LAwOX2+D9Ou4ybHu+VP1TK9XgvA3k aTVqo3WKd4Vq6G/GwNV04Aj5AijDzq+zdgUgX0KIEhYdB+Jk4TlIV/DLfLiAfq7gFmgiDJry OrHPr3lDJXNNH/DkLL5cLln5E9T1g4zwcpb55JJFrEBPP3zVVH3tNzDFRI5KA+0wubhCNpjy oMSQ3mADbGBPKPIrVCI/v4vI/WLZIINojn9M+Al5/rwgn8ihVAdZ6ip3YMLaHyhA/RmOFuWY WD3gtoaFWcKvxE+TPDxiFGYSzFTf26yX6Yi6T0hFI2mCoLDFciRh+mIxzrzSpROfmRLEVuWE G/0MpifVu0XQCaTOdN61DUcTbysDYQm0Ef9jgLiz6tbKb/d4TBQ4Zv7zNx4/ObJlAkusCFvA t6G+2WMVH1v2GoQXzs7mqt4pBou5E2E1P1Rk/FcIvjH++9GXwEhfcrV3+F+TdTvRh7Oc9GSY E2lU9OrHXc7Q4RikJc1f09hFoD63Vj41C2wDupN/4E=
- Ironport-sdr: lqaj82+l9cj4yFyO/pxZyNH93JzCRvGl94pmcnsN4WDktpTqsqcnkKLSOcFoNvAwCI3lrWf7th ygwxbThArYD7Kw9JZrtL/QHlipN0DLT2saGUSpxR4f5rskdasUqyUH76V0YdVrQedwSArCiOPi LDPiwbis17HTvnhzJN13MWsSl5SFaEFnbSJKw8L3W27Zta7taDnxrKUTBaD9BHgA+ujFvKY+K6 e8aonBCHl2S+tr9uD9TMcLlTce4Yv1b7UYRZNoAVE2HW6AmDQoGxztwkxYxvcBLsHnX93ZvsJI jvc=
> Le 23 août 2021 à 10:43, @lbutlr a écrit :
>
> I have been trying to figure out how (or if) I can script the message that is
> shown in the Messagee screen saver, and the defaults write commands that used
> to work as recently as 10.13 do not seem to work in macOS 11 (or 12).
Here, with Mojave, the message seems to be stored in the local
"com.apple.ScreenSaver.Basic" domain:
$ defaults -currentHost read com.apple.ScreenSaver.Basic MESSAGE
> Shell completion shows the screen savers are named with long UUID styled
> names:
>
> $ defaults read ${HOME}/Library/Preferences/ByHost/com.apple.ScreenSaver.<tab>
> […]
>
> But trying to read the Message screensaver results in a file not found error.
>
> Domain
> …/ByHost/com.apple.ScreenSaver.Message.AF49F5FA-95C6-5DDE-A215-30BBBF724C8A
> does not exist
IIRC, defaults’ man page has regularly warned against using that command on a
file; for example, with High Sierra:
WARNING: The defaults command will be changed in an upcoming
major release to only operate on preferences domains. General
plist manipulation utilities will be folded into a different
command-line program.
Maybe the times have arrived?
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