2011-05-25 87 views

回答

1

中的應用程序:

tell application (path to frontmost application as text) 
    item 2 of (windows whose visible is true) 
end tell 

但AFAIK有沒有辦法做到這一點,如果第二個窗口是在另一個應用程序。 (除了訴諸如模仿快捷鍵使用的黑客將焦點移到活動或下一個窗口。)