0

is there a way to run an AppleScript dialog as a specific emplacement? like you would do for an app using

tell application "System Events"
    set position of first window of application process "Slack" to {5724, 0, 6967, 647}
end tell

the dialog example:

set myDialog to {"Demo", "Demo two", "Demo Trois"}
set selectedResolution to choose from list myDialog with title "title here" with prompt "message here" default items "Deny Abuse"

1 Answer 1

1

Not with basic vanilla AppleScript as the choose from list command creates a modal dialog window and further processing of the script is on hold until you respond to.

There may be a way with AppleScriptObjC to create the dialog window programmatically and tell it where to appear on the screen, but that is not my area of expertise.

1
  • thank you that's answer my question.
    – Kevin
    Jun 14, 2021 at 12:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .