Skip to content

Commit e83c87b

Browse files
committed
updated is_screensaver_running.scpt
1 parent e121de0 commit e83c87b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

applescript/is_screensaver_running.scpt

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# Returns 'true' or 'false' as to whether screensaver is running
1717
#
1818
# Useful to avoid sending clicks or keystrokes during screensaver, as this makes it hard to login
19+
#
20+
# XXX: Caveat: doesn't work on locked screen when screensaver isn't running so not comprehensive
1921

2022
tell application "System Events"
2123
get running of screen saver preferences

0 commit comments

Comments
 (0)