BEDINGTE Freigabe der macOS Version Sequoia für tomedo® Alle Hinweise und Informationen finden Sie unter folgendem Link.
Hinweis: Zukünftige iOS tomedo Updates werden nur noch auf Geräten mit iOS 16 oder höher verfügbar sein.
Ich versuche, ein Script zu schreiben, das alle ToDos schließt. Dafür möchte ich die Kombination von Command + Option + Shift + Pfeil nach links verwenden. Leider finde ich nirgends, wie ich diese Tastenkombination formuliere. Könnten Sie mir bitte helfen? Danke.

Hier ist, was ich bisher gefunden habe, aber es funktioniert nicht:

 

tell application "tomedo"

activate

tell application "System Events"

keystroke (key code 123 using {command down, option down, shift down})

end tell
Gefragt vor in Frage von (430 Punkte)
0 Punkte

1 Antwort

Moin,

das geht so (open location... und CMD-K stellen sicher, dass der Fokus für die Tastatureingabe in der Kartei liegt, sonst klappt es je nach Auslösesituation der AK nicht richtig): 

open location "tomedo://patient#$[pid]$"

-- CMD + K
tell application "System Events"
	keystroke "k" using command down
end tell

tell application "System Events"
	key down command
	key down option
	key down shift
	key code 123 -- Pfeil nach links
	key up command
	key up option
	key up shift
	key up 123
end tell

 

Beantwortet vor von (8.1k Punkte)
0 Punkte
18,829 Beiträge
27,154 Antworten
48,808 Kommentare
30,270 Nutzer