This repository has been archived by the owner on Jun 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
MacOS not working #4
Comments
Hmm, problem with not "telling" a specific application is that when you are not in a logged in user context, there will be no dialog at all. |
hey, I'm not a MAC guru either, but here is the proof from Terminal app: WITH ICON:
(dialog is NOT displayed) WITHOUT ICON:
(after this dialog displays) OS VERSION:
|
Also works in terminal if I leave out 'tell app "System Events"
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sorry, dunno how to open a pull request.
message_darwin.go line 61:
Change
From: tell application "System Events" to display dialog ....
To: display dialog ...
Otherwise you get (because of "with icon" part):
28:115: execution error: System Events got an error: Can’t make application "System Events" into type number or string. (-1700)
https://docwhat.org/mac-shell-dialogs
The text was updated successfully, but these errors were encountered: