6
我想知道應用程序如Divvy,Cinch,SizeUp等應用程序的大小/移動窗口屬於其他應用程序?我知道這可能涉及私人API。或者他們都使用AppleScript?有沒有關於如何做到這一點的資源?Mac OS X - 以編程方式調整窗口大小
我想知道應用程序如Divvy,Cinch,SizeUp等應用程序的大小/移動窗口屬於其他應用程序?我知道這可能涉及私人API。或者他們都使用AppleScript?有沒有關於如何做到這一點的資源?Mac OS X - 以編程方式調整窗口大小
一會兒回來I wrote about using AppleScript to do just that。基本上,請執行以下操作:
tell application "MyApp"
set the bounds of the first window to {x, y, width, height}
end tell