Not able to Execute AppleScript within “Mail” application

后端 未结 1 1168
借酒劲吻你
借酒劲吻你 2020-12-19 10:33

I have create one mail plugin and add \"Button\" beside the \"Send\" button of outgoing Mail,

\"enter

1条回答
  •  离开以前
    2020-12-19 11:20

    That menu item does have a keyboard shortcut, so you can use that too. Did you try this?

    activate application "Mail"
    tell application "System Events"
        tell application process "Mail"
            keystroke "d" using {command down, shift down}
        end tell
    end tell
    

    0 讨论(0)
提交回复
热议问题