Mac 和 PC 之间的协同更改 mac 热键

发布于 2024-10-20 08:48:08 字数 780 浏览 4 评论 0原文

Synergy 是一个程序,可让您在两台计算机上使用相同的鼠标和键盘。我有一台 PC 和 Mac 直接通过以太网电缆连接,因此连接很好,看起来好像只有一台计算机。

我正在开发一个 iPad 应用程序,我发现唯一支持 CSS iwebkit 的软件是 Expresso。我使用它在 Mac 中编辑 CSS 文件,并在 PC 上使用 Dream Weaver 编辑 PHP、HTML 和 JavaScript 文件。唯一的问题是我经常使用两台计算机来开发应用程序,并且为每台计算机使用不同的快捷键非常令人沮丧。如果我可以在两台计算机上使用相同的热键,那就太好了。

到目前为止,我已经尝试过:

  1. 在 mac 系统首选项下更改键盘部分中的修饰键。这是可行的,但只能使用 Mac 上的键盘,而不是我正在使用的协同控制两台计算机的键盘。

  2. 创建applescripts,它们所做的就是发送快捷键,然后编译它们并将它们保存为应用程序。将它们保存为应用程序后,我进入系统首选项并尝试使用不同的快捷键运行它们。当我创建该快捷键时,系统首选项崩溃并关闭而不保存更改。

  3. 创建可以协同工作的快捷键,但只能在一台计算机上使用。无论您使用哪台计算机,Synergy 都将始终发送相同的击键。

  4. 最后,我尝试寻找“IronAHK”,在很多帖子中人们都说它修改了 mac 热键,但我一直无法找到适用于 mac 的它。

有没有办法在我的机器上拥有相同的通用访问密钥?

Synergy is a program that enables you to use the same mouse and keyboard in two computers. I have a PC and mac connected directly with an Ethernet cable therefore the connection is great and it seems as if there is only one computer.

I am developing an iPad application and the only software that I have found that supports iwebkit for CSS is Expresso. I use that to edit my CSS files in the mac and I use dream weaver on my PC to edit PHP, HTML and JavaScript files. The only problem is that I am constantly using both computers to develop the application and its very frustrating using different shortcut keys for each computer. It would be very nice if I could use the same hot-keys on both computers.

So far I have tried:

  1. Changing the modifier keys in the keyboard section under system preferences in the mac. That works but just with the keyboard from the mac not with the keyboard that I am using with synergy that controls both computers.

  2. Creating applescripts that what they do is to send a shortcut key then compiling them and saving them as an application. After they are saved as an application I go to system preferences and try to run them with a different shortcut key. when I create that shortcut key system preferences crashes and closes without saving the changes.

  3. Creating shortcut keys in synergy which it works but only in one computer. Synergy will always send the same keystroke regardless on which computer you are using.

  4. Lastly I have tried looking for "IronAHK" which in a lot of posts people say it modifies the mac hotkeys but I have not been able to find it for the mac.

Is there a way to have the same universal access keys across my machines?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一杆小烟枪 2024-10-27 08:48:08

以下文章对我非常有帮助(在 Mac 上工作,控制 PC):

http://www.nextofwindows.com/how-to-properly-map-keyboard- Between-mac-and-pc-when-share -mouses-with-synergy/

第 1 步:配置服务器

Step 1

< strong>第 2 步:双击 PC(如果服务器是 PC,则双击 Mac)

输入图像描述这里

第 3 步:切换 Ctrl 和 Super 键以相互镜像

在此处输入图像描述

THe following article was very helpful for me (working from a Mac, controlling a PC):

http://www.nextofwindows.com/how-to-properly-map-keyboard-between-mac-and-pc-when-share-mouses-with-synergy/

Step 1: Configure Server

Step 1

Step 2: Double-click on the PC (or Mac if the Server is a PC)

enter image description here

Step 3: Toggle the key Ctrl and Super to mirror each other

enter image description here

协同添加新计算机时,您可以更改命令和控制键。这是 Windows 中的一个示例。我无法找到它,因为协同作用将其放置在我从未想过能找到它的位置。

现在我可以使用 control + c 来复制 Mac 和 PC 中的文件,以及大多数命令,例如 control + a 来选择所有内容等。要解决其他问题,以便我可以使用“home”转到例如,我使用 Evan Moran 提供的程序,这是本文的第一个答案。

在此处输入图像描述

When adding a new computer in synergy you can change command and control keys. Here is an example in windows. I was not able to find it because synergy place this in a location where I never thought I could find it.

Now I can use control + c to copy files both in the mac and in the pc and most of the command such as control + a to select everything etc. To fix the other issues so that I can use 'home' to go to the beginning of the line for example I use the program provided by Evan Moran which was the first answer in this post.

enter image description here

终陌 2024-10-27 08:48:08

对于 Mac,我使用 KeyRemap4MacBook。能自由自在就已经很不错了。

也就是说,请考虑使用不同的源代码编辑器,以便您只能在一个系统上进行编码。这将使您的生活变得更加轻松。 Dreamweaver 不一定是最好的。 Visual Studio 在 Javascript、CSS 和 HTML 方面非常出色,而且它们的 Express 版本是免费的。

如果您需要的只是语法突出显示,EditPlus 在 PC 上非常有用,并且适用于您提到的所有语言。如果您需要留在 Mac 上,那么 TextWrangler 是一个很棒的基本源代码编辑器。两者都有免费试用。祝你好运!

For the mac I use KeyRemap4MacBook. It is pretty good for being free.

That said, consider using different source editors so that you can code only on one system. This will make your life a ton easier. Dreamweaver is not necessarily the best. Visual Studio is pretty good on Javascript, CSS, and HTML, and their express versions are free.

If all you need is syntax highlighting EditPlus is great on the PC and will work on all languages you mentioned. If you need to stay on a mac then TextWrangler is great as a basic source editor. Both have free trials. Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文