We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a29724f commit 12ee4c9Copy full SHA for 12ee4c9
applescript/screensaver_activate.scpt
@@ -0,0 +1,18 @@
1
+#!/usr/bin/env osascript
2
+# vim:ts=4:sts=4:sw=4:et
3
+#
4
+# Author: Hari Sekhon
5
+# Date: 2022-12-05 22:21:47 +0000 (Mon, 05 Dec 2022)
6
7
+# https://github.com/HariSekhon/DevOps-Bash-tools
8
9
+# License: see accompanying Hari Sekhon LICENSE file
10
11
+# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
12
13
+# https://www.linkedin.com/in/HariSekhon
14
15
+
16
+# Activate the macOS screensaver programmatically
17
18
+tell application "ScreenSaverEngine" to activate
0 commit comments