こんなソフトを探しています@新・Mac板 34
at MAC
17:名称未設定
08/12/05 23:46:07 GLGzA5VP0
>>15
移動先を単純に一カ所にしちゃってるのと当方10.4なので10.5でそのまま動くかも怪しいけどとりあえず。
property menuBarHeight : 22
property newPosition : {0, menuBarHeight}
tell application "Finder" to set {screenLeft, screenTop, screenRight, screenBottom} to bounds of window of desktop
tell application "System Events"
set procNames to name of every application process whose background only is false
repeat with hoge in procNames
tell application process hoge
repeat with i from 1 to count of every window
tell window i
set {windowLeft, windowTop} to position
set {windowWidth, windowHeight} to size
if windowLeft < 0 or windowTop < menuBarHeight or (windowLeft + windowWidth) > screenRight or (windowTop + windowHeight) > screenBottom then
set position to newPosition
end if
end tell
end repeat
end tell
end repeat
end tell
次ページ最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5225日前に更新/258 KB
担当:undef