こんなソフトを探しています@新・Mac板 34 at MAC
[2ch|▼Menu]
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