Skip to content

Commit 12ee4c9

Browse files
committed
added screensaver_activate.scpt
1 parent a29724f commit 12ee4c9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

applescript/screensaver_activate.scpt

+18
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)