New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binding keyboard shortcut to Mac (OS X) Command Key #150
Comments
Hi! I honestly don't know if the ⌘-key is recognized the same way as CTRL is. but you could try to use e.g.: # opens up the file structure browser
kb.fileStructure = CONTROL + F12 # opens up the file structure browser
kb.fileStructure = META + F12 notes for myself: https://stackoverflow.com/questions/15418987/java-robot-keypress-command-key |
Hi, the META key is not assigned in the KeyStrokeUtil.java, this can be fixed easily to allow to set the Command key for MAC OS. I modified the code and compiled it and it seems to work fine on my MAC now. Let me know if you are interested in the code. And yes, thank for the plugin, its great. |
@danielrohrbach yes I'm interested. Thank you, but let's say it's good enough. |
I send you an email over the weekend which contains the code with the changes. Let me know if you got it. |
Could you try this jar? I've implemented your code |
Thanks a lot for doing this. I hope I’ll have time to try it out soon. But currently everything is quite busy. Please nudge me if there you don’t hear back from me soon.
Daniel
Lead Software Engineer and Scientist
Verasonics, Inc.
Kirkland, WA 98034 USA
Phone: +1.425.998.9836. ext. 109
Email: danielrohrbach@verasonics.com<mailto:danielrohrbach@verasonics.com>
www.verasonics.com<http://www.verasonics.com>
This email, its contents and its attachments (if any) are private and may also contain confidential, protected or privileged information. As an example, some emails and attachments may contain content subject to signed non-disclosure or confidentiality agreements. If you are not an intended recipient, you are hereby notified that any use, forwarding or other dissemination, or reproduction are strictly prohibited and may also be unlawful. In such case, please immediately notify the sender by return e-mail and delete and destroy all your copies of the email and attachments (if any).
From: Andreas Justin <notifications@github.com>
Reply-To: GavriYashar/Matlab-Editor-Plugin <reply@reply.github.com>
Date: Saturday, February 20, 2021 at 5:30 AM
To: GavriYashar/Matlab-Editor-Plugin <Matlab-Editor-Plugin@noreply.github.com>
Cc: Daniel Rohrbach <danielrohrbach@verasonics.com>, Mention <mention@noreply.github.com>
Subject: Re: [GavriYashar/Matlab-Editor-Plugin] Binding keyboard shortcut to Mac (OS X) Command Key (#150)
Could you try this jar? I've implemented your code
MEP_1.39.jar.zip<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGavriYashar%2FMatlab-Editor-Plugin%2Ffiles%2F6015058%2FMEP_1.39.jar.zip&data=04%7C01%7Cdanielrohrbach%40verasonics.com%7C7cc16a80b4874504f0c608d8d5a3bb3b%7Cd71f2d78e6d14ff3b9bdf4959bcf904d%7C1%7C0%7C637494246501513251%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Q3MkiKYSWYtqNwP07JGBHnK5FdaRbSYhw77ZxWpmFZM%3D&reserved=0>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGavriYashar%2FMatlab-Editor-Plugin%2Fissues%2F150%23issuecomment-782657102&data=04%7C01%7Cdanielrohrbach%40verasonics.com%7C7cc16a80b4874504f0c608d8d5a3bb3b%7Cd71f2d78e6d14ff3b9bdf4959bcf904d%7C1%7C0%7C637494246501513251%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=SGhq%2Fp6ULrr4CRdQf4YFZYtGjfe6DE1i5QHEPALFdFQ%3D&reserved=0>, or unsubscribe<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANI7NISCK7ZVMA3N46MY2ILS762QNANCNFSM4HPO2EAA&data=04%7C01%7Cdanielrohrbach%40verasonics.com%7C7cc16a80b4874504f0c608d8d5a3bb3b%7Cd71f2d78e6d14ff3b9bdf4959bcf904d%7C1%7C0%7C637494246501523205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8gIZd93CEa5ZtH257%2BhmwRMNfe91Nk01PWjbZ2aMlD4%3D&reserved=0>.
|
Hi!
I have for long been annoyed with the lack of "duplicate line" in MatLab, so I was thrilled to find this plugin. I was able to install it on my Mac, despite the instruction seems written for Windows. However, how do I bind the Duplicate Line action to the keyboard shortcut: "Command + D"? (I.e. "⌘+D")
Thanks for your plugin!!
The text was updated successfully, but these errors were encountered: