Я получаю эту ошибку каждый раз, когда я запускаю этот скрипт: Системные события получают ошибку: «Test123» не понимает уведомляющее сообщение.
Код:
--more code...
tell application "System Events"
if some_system_events_property then
my notify of "Test123" thru "Test"
end if
end tell
--more code...
to notify of message thru level
display dialog message with titel level
end notify
Я пытался
my notify of "Test123" thru "Test"
заменить следующим, без какого-либо успеха:
notify of "Test123" thru "Test" of me
(notify of "Test123" thru "Test") of me