有没有什么软件可以把两个窗口粘起来

18 天前
 onsdriver
有没有什么软件可以把两个窗口粘起来,让它们被拖动的时候一起动

1609 次点击
所在节点    macOS
10 条回复
onsdriver
18 天前
这个需求还是太怪了吗
chenxuuu
18 天前
AquaSnap
onsdriver
17 天前
@chenxuuu 好像不支持 MacOS

> AquaSnap is compatible with all Windows versions, from Windows 7 to Windows 11, with true 64-bit support. We will do our absolute best to support all future Windows versions.
onsdriver
17 天前
我去看看类似的软件,感谢!
@chenxuuu
onsdriver
16 天前
没找到什么靠谱的替代啊,AquaSnap 真是完美符合我所有的需求,但是不支持 MacOS😭😭😭😭

继续蹲,走过路过的朋友支支招
chenxuuu
16 天前
如果是固定的几个软件,你用 hammerspoon 写个脚本就好了吧
q534
15 天前
好怪,好爱,等一个方案
onsdriver
10 天前
已经使用 hammerspoon 解决,虽然不是很丝滑但也足矣!!

效果:


代码:
```lua
local function moveChatGPT()
local targetFrame = hs.application.applicationsForBundleID("ru.keepcoder.Telegram")[1]:focusedWindow():frame()
local gpt = hs.application.applicationsForBundleID("com.openai.chat")[1]:allWindows()[1]
targetFrame.y = targetFrame.y + targetFrame.h
targetFrame.h = targetFrame.h / 2
gpt:setFrame(targetFrame)
end

local telegramWindowFilter = hs.window.filter.new(false):setAppFilter('Telegram')
telegramWindowFilter:subscribe(hs.window.filter.windowMoved, moveChatGPT)
```

@q534 可以参考我的
@chenxuuu 感谢指路
rukeypei
8 天前
想不到还有这个需求跟脚本
onsdriver
6 天前
@rukeypei 用户的需求千奇百怪,自定义脚本永远的神

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1069573

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX