Position Pop-up-Fenster

M

MacNoob20

Aktives Mitglied
Thread Starter
Dabei seit
30.01.2020
Beiträge
171
Reaktionspunkte
10
Hallo,

ist es möglich, folgendes Pop-up an einer anderen Position als mittig auf dem Bildschirm anziegen zu lassen (z.B. oben links)

Code:
with timeout of 20 seconds
    tell application "System Events"
        activate
        set Selector to (choose from list {"Option 1", "Option 2", "Option 3"} with title "Bitte wählen" with prompt "Bitte anrufen" & return & "choose from:" OK button name "OK" cancel button name "Abbrechen" default items {"Option 2"}) as text
    end tell
end timeout
if Selector = "Option 2" then beep

Danke!
 
choose from list v : Choose one or more items from a list

choose from list list of text or number : a list of items to display

[with title text] : the dialog window title

[with prompt text] : the prompt to be displayed in the dialog box

[default items list of text or number] : a list of items to initially select (an empty list if no selection)

[OK button name text] : the name of the OK button

[cancel button name text] : the name of the Cancel button

[multiple selections allowed boolean] : Allow multiple items to be selected?

[empty selection allowed boolean] : Can the user make no selection and then choose OK?

→ list of number or text : the list of selected items
Scheint keine Property für Position zu haben.
 
Schade, trotzdem danke!
 
Zurück
Oben Unten