Я пытаюсь получить индекс окна (положение) Firefox на рабочем столе с помощью Applescript.
Я дошел до этого далеко, но я не знаю, как поступить. Может кто-нибудь указать мне пример кода или подсказку. : - |
tell application "System Events"
set programs to processes whose visible is true and name is "firefox-bin" or name is "google chrome" or name is "safari"
repeat with program in programs
tell window of application program
#XXX do something
end tell
end repeat
end tell