# 文本悬浮窗 选择或编辑文本内容时,在鼠标指针抬起位置的旁边显示悬浮标,移动鼠标到悬浮标上面展开显示设置的动作页。
其优点主要是: - 减少弹出面板的点击 - 减少鼠标移动距离 - 可以将文本相关操作放在一起 操作演示: [![文本悬浮窗.mp4 (399.57KB)](https://cdn.nlark.com/yuque/0/2019/jpeg/272392/1569394079929-2578038a-becf-4f66-b676-480c8d0c0f13.jpeg?x-oss-process=image/resize,h_450)](https://www.yuque.com/quicker/help/text-select-float-panel?_lake_card=%7B%22status%22%3A%22done%22%2C%22name%22%3A%22%E6%96%87%E6%9C%AC%E6%82%AC%E6%B5%AE%E7%AA%97.mp4%22%2C%22size%22%3A409157%2C%22taskId%22%3Anull%2C%22taskType%22%3A%22%22%2C%22url%22%3Anull%2C%22cover%22%3Anull%2C%22videoId%22%3A%2200df954c9b574d63924cd1aa37b3a816%22%2C%22download%22%3Afalse%2C%22percent%22%3A0%2C%22coverUrl%22%3A%22https%3A%2F%2Fcdn.nlark.com%2Fyuque%2F0%2F2019%2Fjpeg%2F272392%2F1569394079929-2578038a-becf-4f66-b676-480c8d0c0f13.jpeg%22%2C%22aliyunVideoSrc%22%3Anull%2C%22taobaoVideoId%22%3A%22236953380849%22%2C%22uploaderId%22%3A272392%2C%22authKey%22%3A%22YXBwX2tleT04MDAwMDAwMTImYXV0aF9pbmZvPXsidGltZXN0YW1wRW5jcnlwdGVkIjoiZGYyMzFkOWQ4NDIzNzBiM2ZhYWI2ZmQ2ZmY1MjJlMDMifSZkdXJhdGlvbj0mdGltZXN0YW1wPTE1NzI2NjQzODU%3D%22%2C%22docUrl%22%3A%22https%3A%2F%2Fwww.yuque.com%2Fquicker%2Fhelp%2Ftext-select-float-panel%22%2C%22id%22%3A%22lPxx4%22%2C%22card%22%3A%22video%22%7D#lPxx4) # 弹出模式 文本悬浮窗共有3个弹出模式,可以在悬浮窗显示后点击标题栏的按钮切换:
![image.png](https://cdn.nlark.com/yuque/0/2019/png/272392/1569394530298-e07b47ed-ffab-4984-9111-a322ff69ed07.png#crop=0&crop=0&crop=1&crop=1&height=141&id=XGDoE&name=image.png&originHeight=281&originWidth=1011&originalType=binary&ratio=1&rotation=0&showTitle=false&size=49349&status=done&style=none&title=&width=505.5) ![文本悬浮窗切换模式1.gif](https://cdn.nlark.com/yuque/0/2019/gif/272392/1569396639927-43ce78a8-827e-4252-8021-4d96ae3ca64c.gif#crop=0&crop=0&crop=1&crop=1&height=289&id=lxQQg&name=%E6%96%87%E6%9C%AC%E6%82%AC%E6%B5%AE%E7%AA%97%E5%88%87%E6%8D%A2%E6%A8%A1%E5%BC%8F1.gif&originHeight=494&originWidth=888&originalType=binary&ratio=1&rotation=0&showTitle=false&size=66167&status=done&style=none&title=&width=519) ## 文本选择模式 在选择文本后弹出浮标。因为Windows没有官方的API可以获取是否选择了文本,所以Quicker通过如下方式猜测: - 弹出后鼠标指针为文本模式(ꕯ) - 按下前鼠标指针为文本模式 - 双击前鼠标指针为文本模式(两次单击间隔小于500ms) - 鼠标按下后移动了一段距离(15像素) 操作效果请参考本文顶部的演示动画。
在很多软件中选择文本时鼠标指针不会变为文本选择指针(如腾讯),这时候就没办法识别了。如果这种情况比较多,可以切换模式到“总是显示”。 ## 文本选择或输入模式 鼠标指针为文本模式时,只要弹起就显示浮标。通常用于使用鼠标调整文档格式等场景。 [![文本选择或编辑模式演示.mp4 (472.85KB)](https://cdn.nlark.com/yuque/0/2019/jpeg/272392/1569397066026-c1d9ce3b-442e-4018-b194-63f2a0a79c48.jpeg?x-oss-process=image/resize,h_450)](https://www.yuque.com/quicker/help/text-select-float-panel?_lake_card=%7B%22status%22%3A%22done%22%2C%22name%22%3A%22%E6%96%87%E6%9C%AC%E9%80%89%E6%8B%A9%E6%88%96%E7%BC%96%E8%BE%91%E6%A8%A1%E5%BC%8F%E6%BC%94%E7%A4%BA.mp4%22%2C%22size%22%3A484201%2C%22taskId%22%3Anull%2C%22taskType%22%3A%22%22%2C%22url%22%3Anull%2C%22cover%22%3Anull%2C%22videoId%22%3A%229e25748b579c452d8cc0bd7ce540ee43%22%2C%22download%22%3Afalse%2C%22percent%22%3A0%2C%22coverUrl%22%3A%22https%3A%2F%2Fcdn.nlark.com%2Fyuque%2F0%2F2019%2Fjpeg%2F272392%2F1569397066026-c1d9ce3b-442e-4018-b194-63f2a0a79c48.jpeg%22%2C%22aliyunVideoSrc%22%3Anull%2C%22taobaoVideoId%22%3A%22237266927542%22%2C%22uploaderId%22%3A272392%2C%22authKey%22%3A%22YXBwX2tleT04MDAwMDAwMTImYXV0aF9pbmZvPXsidGltZXN0YW1wRW5jcnlwdGVkIjoiZGYyMzFkOWQ4NDIzNzBiM2ZhYWI2ZmQ2ZmY1MjJlMDMifSZkdXJhdGlvbj0mdGltZXN0YW1wPTE1NzI2NjQzODU%3D%22%2C%22docUrl%22%3A%22https%3A%2F%2Fwww.yuque.com%2Fquicker%2Fhelp%2Ftext-select-float-panel%22%2C%22id%22%3A%22PjYYg%22%2C%22card%22%3A%22video%22%7D#PjYYg) ## 总是显示模式 在鼠标抬起时都显示浮标。
用于有些时候软件显示的指针不是正常的文本模式指针的情况。比如在TIM中选中文字。
此模式下悬浮标显示的频率比较高,某些情况下可能会影响正常操作。 # 操作 ## 启动功能 方式1:托盘图标。
右键点击Quicker托盘菜单,选择“文本悬浮窗”,使其变成勾选状态。
![image.png](https://cdn.nlark.com/yuque/0/2019/png/272392/1569069586986-d945c319-a261-48fc-aaeb-fc2c32f52cc7.png#crop=0&crop=0&crop=1&crop=1&height=111&id=AvCnu&name=image.png&originHeight=221&originWidth=420&originalType=binary&ratio=1&rotation=0&showTitle=false&size=20799&status=done&style=none&title=&width=210) 方式2:使用快捷键开启。
在配置中设置开启文本悬浮窗的快捷键,然后使用该快捷键触发即可开启或关闭文本悬浮窗。
![image.png](https://cdn.nlark.com/yuque/0/2019/png/272392/1569069714052-b75d9867-fde1-44e2-96da-92b12f180467.png#crop=0&crop=0&crop=1&crop=1&height=324&id=i5YNE&name=image.png&originHeight=647&originWidth=797&originalType=binary&ratio=1&rotation=0&showTitle=false&size=64776&status=done&style=none&title=&width=398.5) ## 关闭功能 如果需要关闭此功能,可以用上述托盘图标菜单或快捷键方式,也可以直接点击悬浮窗的关闭按钮。
![image.png](https://cdn.nlark.com/yuque/0/2019/png/272392/1569070474615-6c502ac1-2d20-4776-b1e1-a368b2da6489.png#crop=0&crop=0&crop=1&crop=1&height=85&id=G6fri&name=image.png&originHeight=170&originWidth=602&originalType=binary&ratio=1&rotation=0&showTitle=false&size=24714&status=done&style=none&title=&width=301) ## 设定 在配置中可选是否在Quicker启动后自动启动此功能。
![image.png](https://cdn.nlark.com/yuque/0/2019/png/272392/1569069502820-3cf09aff-5443-4c33-baf8-2eb8bdafe3cb.png#crop=0&crop=0&crop=1&crop=1&height=293&id=LIOLM&name=image.png&originHeight=586&originWidth=797&originalType=binary&ratio=1&rotation=0&showTitle=false&size=57673&status=done&style=none&title=&width=398.5) ## 调整悬浮标位置 悬浮标显示后,左键按住拖动即可。 [![更改文本悬浮标位置1.mp4 (241.87KB)](https://cdn.nlark.com/yuque/0/2019/jpeg/272392/1569077059199-2f4921db-acfc-4aea-9a42-6e9a7c21cb5e.jpeg?x-oss-process=image/resize,h_450)](https://www.yuque.com/quicker/help/text-select-float-panel?_lake_card=%7B%22status%22%3A%22done%22%2C%22name%22%3A%22%E6%9B%B4%E6%94%B9%E6%96%87%E6%9C%AC%E6%82%AC%E6%B5%AE%E6%A0%87%E4%BD%8D%E7%BD%AE1.mp4%22%2C%22size%22%3A247672%2C%22taskId%22%3Anull%2C%22taskType%22%3A%22%22%2C%22url%22%3Anull%2C%22cover%22%3Anull%2C%22videoId%22%3A%224d7884885c554b3f8264bda522f470f4%22%2C%22download%22%3Afalse%2C%22percent%22%3A0%2C%22coverUrl%22%3A%22https%3A%2F%2Fcdn.nlark.com%2Fyuque%2F0%2F2019%2Fjpeg%2F272392%2F1569077059199-2f4921db-acfc-4aea-9a42-6e9a7c21cb5e.jpeg%22%2C%22aliyunVideoSrc%22%3Anull%2C%22taobaoVideoId%22%3A%22236712917269%22%2C%22uploaderId%22%3A272392%2C%22authKey%22%3A%22YXBwX2tleT04MDAwMDAwMTImYXV0aF9pbmZvPXsidGltZXN0YW1wRW5jcnlwdGVkIjoiZGYyMzFkOWQ4NDIzNzBiM2ZhYWI2ZmQ2ZmY1MjJlMDMifSZkdXJhdGlvbj0mdGltZXN0YW1wPTE1NzI2NjQzODU%3D%22%2C%22docUrl%22%3A%22https%3A%2F%2Fwww.yuque.com%2Fquicker%2Fhelp%2Ftext-select-float-panel%22%2C%22id%22%3A%22DSULP%22%2C%22card%22%3A%22video%22%7D#DSULP) ## 自定义显示的动作页 【注】此功能需要专业版支持。
专业版用户可以将指定的动作页添加到文本悬浮窗中,并且可以使用鼠标滚轮翻页。
![image.png](https://cdn.nlark.com/yuque/0/2019/png/272392/1569070217081-64007d68-8594-44fb-ab2b-f7f9948a8efa.png#crop=0&crop=0&crop=1&crop=1&height=206&id=lb94N&name=image.png&originHeight=412&originWidth=684&originalType=binary&ratio=1&rotation=0&showTitle=false&size=66233&status=done&style=none&title=&width=342) 在面板窗口上需要添加的动作页的任何动作上点击右键,选择“添加动作页到文本悬浮窗”。
![N0A2I032U(_0Q(3K}{NP~$0.jpg](https://cdn.nlark.com/yuque/0/2022/jpeg/272392/1649472377139-040577f0-8bc7-4fc9-b28c-418e2de3a9f1.jpeg#clientId=u5cb22c04-27e7-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=341&id=uafce4301&name=N0A2I032U%28_0Q%283K%7D%7BNP~%240.jpg&originHeight=512&originWidth=770&originalType=binary&ratio=1&rotation=0&showTitle=false&size=26116&status=done&style=none&taskId=u5384b77a-121b-4b68-b24e-d15c9e27f25&title=&width=513.3333333333334) 要移除动作页,只要点击悬浮窗上的删除按钮即可。
![image.png](https://cdn.nlark.com/yuque/0/2019/png/272392/1569070583525-8462d23c-08af-4921-86ef-98ccc7bef31b.png#crop=0&crop=0&crop=1&crop=1&height=84&id=BXdaS&name=image.png&originHeight=168&originWidth=258&originalType=binary&ratio=1&rotation=0&showTitle=false&size=12505&status=done&style=none&title=&width=129) [![自定义文本浮窗动作页.mp4 (542.93KB)](https://cdn.nlark.com/yuque/0/2019/jpeg/272392/1569078032744-b361a7ab-a23e-4590-8324-f7d5efb6166a.jpeg?x-oss-process=image/resize,h_450)](https://www.yuque.com/quicker/help/text-select-float-panel?_lake_card=%7B%22status%22%3A%22done%22%2C%22name%22%3A%22%E8%87%AA%E5%AE%9A%E4%B9%89%E6%96%87%E6%9C%AC%E6%B5%AE%E7%AA%97%E5%8A%A8%E4%BD%9C%E9%A1%B5.mp4%22%2C%22size%22%3A555958%2C%22taskId%22%3Anull%2C%22taskType%22%3A%22%22%2C%22url%22%3Anull%2C%22cover%22%3Anull%2C%22videoId%22%3A%2259355dc283e341d4b144dd1e5970fb3b%22%2C%22download%22%3Afalse%2C%22percent%22%3A0%2C%22coverUrl%22%3A%22https%3A%2F%2Fcdn.nlark.com%2Fyuque%2F0%2F2019%2Fjpeg%2F272392%2F1569078032744-b361a7ab-a23e-4590-8324-f7d5efb6166a.jpeg%22%2C%22aliyunVideoSrc%22%3Anull%2C%22taobaoVideoId%22%3A%22236938067601%22%2C%22uploaderId%22%3A272392%2C%22authKey%22%3A%22YXBwX2tleT04MDAwMDAwMTImYXV0aF9pbmZvPXsidGltZXN0YW1wRW5jcnlwdGVkIjoiZGYyMzFkOWQ4NDIzNzBiM2ZhYWI2ZmQ2ZmY1MjJlMDMifSZkdXJhdGlvbj0mdGltZXN0YW1wPTE1NzI2NjQzODU%3D%22%2C%22docUrl%22%3A%22https%3A%2F%2Fwww.yuque.com%2Fquicker%2Fhelp%2Ftext-select-float-panel%22%2C%22id%22%3A%22Ykwmv%22%2C%22card%22%3A%22video%22%7D#Ykwmv) 文本悬浮窗的动作页是一个本地配置,不会进行同步,以避免不同电脑不同的工作场景相互影响。 # 已知问题 - 在Win7下,无法使用鼠标滚轮翻页。可以点击标题栏的小点来更换页面。 - 由于WPF编程技术的限制,悬浮窗口不能超出屏幕范围。所以悬浮标理论位置应该在屏幕外面的时候,会自动移动到桌面内。