(我不想听别人说我有多疯狂想要那个!:)
焦点跟随鼠标也被称为点对焦点、指针焦点和(在某些实现中)草率焦点。[添加其他术语,使搜索更容易!]]鼠标光标
(我不想听别人说我有多疯狂想要那个!:)
焦点跟随鼠标也被称为点对焦点、指针焦点和(在某些实现中)草率焦点。[添加其他术语,使搜索更容易!]]鼠标光标
当前回答
其他回答
So I decided to improve again on the work I did on the MouseFocus.app which still had some flaws. Those are fixed now. I renamed the whole thing to "AutoRaise" to better reflect what this tool does: When you hover a window it will be raised to the front (with a delay of your choosing) and gets the focus. The tool can be downloaded here. To use it, copy it to your /Applications/ folder making sure it is executable (chmod 700 AutoRaise). Then double click it from within Finder. To quickly toggle it on/off you can use the applescript below and paste it into an automator service workflow. Then bind the created service to a keyboard shortcut via System Preferences|Keyboard|Shortcuts.
更新(29-03-2017):AutoRaise二进制文件已经更新。如果命令行上没有指定delay,它现在也会在同一个主文件夹中查找autorrise .delay文件。这在使用下面的applescript时特别有用,因为“启动应用程序”不支持命令行参数。延迟应该以50ms 20ms为单位指定。例如,在一个终端上执行'echo 1 > ~/AutoRaise.delay'命令,指定延时为20ms。
on run {input, parameters}
tell application "Finder"
if exists of application process "AutoRaise" then
quit application "/Applications/AutoRaise"
display notification "AutoRaise Stopped"
else
launch application "/Applications/AutoRaise"
display notification "AutoRaise Started"
end if
end tell
return input
end run
更新(18-04-2019):来源https://github.com/sbmpost/AutoRaise
更新(05-06-2020):默认延迟时间被设置为2,轮询时间被缩短。这些设置可以防止快速移动鼠标(例如到达顶部菜单)时意外地弹出窗口。同时一个扭曲鼠标功能已经添加和内存泄漏已被修复。欲了解更多细节,请参阅README
你可以在终端机上做。通过在命令行中发出以下命令来创建应用程序:
defaults write com.apple.Terminal FocusFollowsMouse -bool true
对于X11应用,你可以这样做:
defaults write com.apple.x11 wm_ffm -bool true
在Snow Leopard中,使用这个:
defaults write org.x.X11 wm_ffm -bool true
显然,有一个名为CodeTek虚拟桌面的程序可以在系统范围内模拟它,但它需要花费$$(他们从未为OSX Leopard推出过版本)。
在MacOS Mojave上测试MondoMouse (https://www.atomicbird.com/about/mac-apps)。对我来说似乎很有效!
要安装预装面板,将会有一个通知“为辅助设备启用访问”,不再驻留在系统首选项>可访问性中。你必须在安全与隐私>可访问>隐私中设置它
在你打开的每个应用程序中都会有几个关于允许MondoMouse的警告,但一旦设置它就可以正常工作了!真是松了一口气。
不幸的是,CodeTek虚拟桌面专业不再开发,该公司似乎已经退出业务几年前。
历史参考:http://www.codetek.com/ctvd/(不适用于新的OS X版本!)
历史回顾:http://www.osnews.com/story/6144
使用CodeTek Virtual Desktop Pro,你可以获得焦点-跟随-鼠标,并禁用自动上升,它也有一个虚拟桌面的寻呼机——类似于Fvwm在Linux上的工作方式。它运行得非常完美——这是我买过的最好的软件。 它与所有应用程序都一致,切换应用程序,将窗口移动到不同的工作区,以及导航工作区都比最新的OS X版本[10.6,10.7,10.8]要容易得多。
不幸的是,随着Mac OS X 10.5 VirtualDesktop Pro停止工作,看起来苹果积极确保CodeTek不会继续在它上面工作。
令人遗憾的是,苹果粉碎了CodeTek和它的产品——虚拟桌面专业版(Virtual Desktop Pro)真的比OS X当前实现的工作区更好。它的工作原理基本上就像LINUX上的Fvwm——超快的导航——没有不必要的点击或鼠标手势……
看到苹果规定窗口管理器(Finder)的行为,似乎不再允许第三方替换Finder,我很难过。