天天看点

按键精灵取窗口句柄输入按键_如何通过一次按键调整所有窗口列的大小

按键精灵取窗口句柄输入按键_如何通过一次按键调整所有窗口列的大小

按键精灵取窗口句柄输入按键

When you’re dealing with an application that displays data in a set of columns, it’s often frustrating to have to resize each column separately—but today we’ve got a great trick for you that resizes all the columns with a single keystroke.

当您处理在一组列中显示数据的应用程序时,常常不得不分别调整每个列的大小会很令人沮丧,但是今天,我们为您提供了一个绝妙的技巧,即可以通过一次按键来调整所有列的大小。

The secret keystroke to use is Ctrl and the Numpad’s + key, and it only works if you have a separate number pad on your PC—but we’ve also found a workaround for that as well. Keep reading.

要使用的秘密按键是Ctrl和Numpad的+键,只有在您的PC上有单独的数字键盘时,此按键才有效-但是我们也找到了解决方法。 继续阅读。

这是如何运作的 (Here’s How It Works)

To better illustrate exactly how this trick works, we’ve put together a short video that shows the keyboard shortcut in action.

为了更好地说明此技巧的工作原理,我们整理了一段简短的视频,展示了实际使用中的键盘快捷键。

使用键盘调整所有列的大小 (Resize All Columns with the Keyboard)

In case you can’t load the video, here’s how it works—if you look at this example window, you’ll see how the columns are all bunched up, and you can’t see all of the data in them without resizing them, which can be frustrating.

万一您无法加载视频,请按以下步骤操作:如果您查看此示例窗口,将会看到所有列如何聚集在一起,并且如果不调整它们的大小也无法查看其中的所有数据,这可能令人沮丧。

按键精灵取窗口句柄输入按键_如何通过一次按键调整所有窗口列的大小

Simply press the Ctrl key and the Numpad + key together, and you’ll see all of the columns instantly resized to fit the content:

只需同时按Ctrl键和Numpad +键,您将看到所有列的大小都会立即调整以适合内容:

按键精灵取窗口句柄输入按键_如何通过一次按键调整所有窗口列的大小

Very useful in many situations!

在许多情况下非常有用!

快速调整单列大小 (Resize a Single Column the Quick Way)

Sometimes you don’t want to resize all the columns, but you’d like to resize a single column to fit the content. All you need to do in this case is double-click on the separator between the columns, and it will instantly be resized to fit.

有时,您不想调整所有列的大小,但是想要调整单个列的大小以适合内容。 在这种情况下,您需要做的就是双击列之间的分隔符,它会立即调整大小以适合。

按键精灵取窗口句柄输入按键_如何通过一次按键调整所有窗口列的大小

This trick works in just about every application that we’ve ever used.

这个技巧几乎可以在我们使用过的每个应用程序中使用。

有没有数字键盘的笔记本电脑? 使用自动快捷键重新映射! (Got a Laptop without a Number Pad? Use AutoHotkey to Remap!)

And now we get to the good stuff, for all those of us who use a laptop and don’t have a number key pad—in fact, I had to pull out a dusty keyboard just to test out this trick. The simple solution for all of us is to simply setup an AutoHotkey key mapping to map another keystroke to send Ctrl+NumpadAdd instead.

现在我们得到了好东西,对于我们所有人中所有使用笔记本电脑且没有数字键盘的人—实际上,我不得不拔出一个尘土飞扬的键盘只是为了测试这个技巧。 对我们所有人来说,简单的解决方案是简单地设置一个AutoHotkey键映射,以映射另一个按键来发送Ctrl + NumpadAdd。

For instance, I’ve assigned the shortcut key combination Alt + to resize the columns, but of course, you could assign anything to it:

例如,我已经分配了快捷键组合Alt +来调整列的大小,但是当然,您可以为其分配任何内容:

!=::Send,{LCtrl down}{NumpadAdd}{LCtrl up}

!= ::发送,{LCtrl向下} {NumpadAdd} {LCtrl向上}

All you’ll need to do is create a new AutoHotkey script, paste in that single line, and then double-click on it for it to work.

您需要做的就是创建一个新的AutoHotkey脚本,粘贴到该行中,然后双击它以使其起作用。

Thanks for pointing out the original tip goes to WinSuperSite

感谢您指出原始提示到 WinSuperSite

  • › How to Quickly Scroll Through Home Screen Pages on iPhone and iPad

    › 如何在iPhone和iPad上快速滚动浏览主屏幕页面

  • › How to Play Android 11’s Hidden Easter Egg Game

    › 如何玩Android 11的隐藏复活节彩蛋游戏

  • › How to Move a Window to Another Virtual Desktop on Windows 10

    › 如何在Windows 10上将窗口移动到另一个虚拟桌面

  • › How to Replicate the iOS 14 App Library on Android

    › 如何在Android上复制iOS 14应用程序库

  • › What’s the Deal with Google Home and Nest? Is There a Difference?

    › 与Google Home and Nest有什么关系? 有区别吗?

翻译自: https://www.howtogeek.com/howto/28734/how-to-resize-all-window-columns-with-a-single-keystroke/

按键精灵取窗口句柄输入按键