0
The menu bar:如何點擊Apple Script中菜單欄菜單欄項目的菜單項?
蘋果腳本:
tell application "System Events"
tell process "MacID"
click menu item 9 of menu 1 of menu bar item 1 of menu bar 2
end tell
end tell
The menu bar:如何點擊Apple Script中菜單欄菜單欄項目的菜單項?
蘋果腳本:
tell application "System Events"
tell process "MacID"
click menu item 9 of menu 1 of menu bar item 1 of menu bar 2
end tell
end tell
我不知道如何與MACID和不帶命令的快捷鍵菜單項做,但這裏是如何使用按鍵做到這一點:
tell application "System Events" keystroke "(key)" using command down
什麼問題? – Arc676
http://stackoverflow.com/help/how-to-ask –
將其更改爲「獲取菜單欄2的屬性」,然後如果檢出,請嘗試「獲取菜單欄2的菜單欄項目1的屬性」 ,測試這部分路徑等。 – jweaks