Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telling and titles for dialog #3

Open
ninest opened this issue Dec 27, 2020 · 1 comment
Open

Telling and titles for dialog #3

ninest opened this issue Dec 27, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ninest
Copy link
Owner

ninest commented Dec 27, 2020

tell application "Brave Browser" to display dialog "Some Message from Brave" with title "A title"

This will show a dialog with a title at the top, and move focus to Brave Browser.

If you tell application then display an alert, it will show Brave's icon.

But showing a notification after tell will not change the notification's icon, unfortunately.

@ninest ninest self-assigned this Dec 27, 2020
@ninest
Copy link
Owner Author

ninest commented Dec 30, 2020

Titles have been added. As for telling, it'll be nice if something like with Tell("Application Name"): can be done.

Also, this is invalid:

set answer to tell application "Brave Browser" to display dialog "Some Message from Brave" with title "A title"

This is valid:

tell application "Brave Browser" to set answer to display dialog "Some Message from Brave" with title "A title"
tell application "Brave Browser"
	set answer to display dialog "Some Message from Brave" with title "A title"
end tell

@ninest ninest added the enhancement New feature or request label Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant