Skip to content

Commit 174c7c3

Browse files
committed
tmp: logging
1 parent 9e8e0a4 commit 174c7c3

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

src/macOS/enableDoNotDisturb.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,28 @@ delay 1
9898
on findDoNotDisturb(e)
9999
tell application "System Events"
100100
try
101-
log ("Checking element: " & (name of e) & " - " & (role of e) & " - " & (description of e) & " - " & (title of e) & " - " & (value of e) & " - " & (help of e))
101+
log ("Checking element: ")
102+
try
103+
log (" - name: " & (name of e))
104+
end try
105+
try
106+
log (" - role: " & (role of e))
107+
end try
108+
try
109+
log (" - description: " & (description of e))
110+
end try
111+
try
112+
log (" - value: " & (value of e))
113+
end try
114+
try
115+
log (" - help: " & (help of e))
116+
end try
117+
try
118+
log (" - title: " & (title of e))
119+
end try
120+
try
121+
log (" - identifier: " & (identifier of e))
122+
end try
102123
103124
if name of e is "Focus" then
104125
return e

0 commit comments

Comments
 (0)