<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with keyboard shortcuts]]></title><description><![CDATA[A list of topics that have been tagged with keyboard shortcuts]]></description><link>https://forum.robofont.com/tags/keyboard shortcuts</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 08:32:35 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/tags/keyboard shortcuts.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 15 May 2020 10:34:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[ [[qanda:topic_unsolved]] Prepolator: shortcuts for previous&#x2F;next glyph don&#x27;t work]]></title><description><![CDATA[Thank you. That's great to hear Frederik.
Please wait a little with pushing an update. I encountered a bunch of small errors that you might want to have a look at too. Will post them shortly.
]]></description><link>https://forum.robofont.com/topic/863/prepolator-shortcuts-for-previous-next-glyph-don-t-work</link><guid isPermaLink="true">https://forum.robofont.com/topic/863/prepolator-shortcuts-for-previous-next-glyph-don-t-work</guid><dc:creator><![CDATA[paulvanderlaan]]></dc:creator><pubDate>Fri, 15 May 2020 10:34:06 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] Are there keyboard shortcuts &#x2F; hotkeys for Prepolator extension functions?]]></title><description><![CDATA[Awesome, thanks Frederik and Tal!
]]></description><link>https://forum.robofont.com/topic/675/are-there-keyboard-shortcuts-hotkeys-for-prepolator-extension-functions</link><guid isPermaLink="true">https://forum.robofont.com/topic/675/are-there-keyboard-shortcuts-hotkeys-for-prepolator-extension-functions</guid><dc:creator><![CDATA[StephenNixon]]></dc:creator><pubDate>Tue, 23 Jul 2019 21:38:57 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] How to create Short Key popover?]]></title><description><![CDATA[oh my god, I'm really blind o_O
]]></description><link>https://forum.robofont.com/topic/671/how-to-create-short-key-popover</link><guid isPermaLink="true">https://forum.robofont.com/topic/671/how-to-create-short-key-popover</guid><dc:creator><![CDATA[RafaŁ Buchner]]></dc:creator><pubDate>Fri, 19 Jul 2019 20:31:24 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] Can’t change some menu shortcuts]]></title><description><![CDATA[I rewrote your code in another way that is more clear to me, maybe others would find this useful. This opens a window in which, the start button initiates the override RF keys state and also there is a stop button:
import AppKit
from vanilla import *

_ignore = {'⌘s', '⇧⌘s', '⌘q', '⇧⌘q'}

MODIFIER_INT_TO_STR = {
				AppKit.NSCommandKeyMask: '⌘',
				AppKit.NSControlKeyMask: '⌃',
				AppKit.NSAlternateKeyMask: '⌥',
				AppKit.NSShiftKeyMask: '⇧',
				AppKit.NSCommandKeyMask | AppKit.NSShiftKeyMask: '⇧⌘',
				AppKit.NSCommandKeyMask | AppKit.NSAlternateKeyMask: '⌘⌥',
				AppKit.NSCommandKeyMask | AppKit.NSControlKeyMask : '⌃⌘',
				AppKit.NSControlKeyMask | AppKit.NSShiftKeyMask: '⇧⌃',
				AppKit.NSAlternateKeyMask | AppKit.NSShiftKeyMask: '⇧⌥',
				}

class KeyEventMonitor(object):

	def __init__(self):
		self.monitor = None
		self.w = Window((300, 90), "KeyEventMonitor Debuggin window")
		self.w.b1 = Button((10, 10, -10, 20), "Stop",
							callback=self.stop)
		self.w.b2 = Button((10, 40, -10, 20), "Start",
							callback=self.start)
		self.w.bind("close", self.stop)
		self.w.open()

	def stop(self, sender):
		self._stopOverridingRFkeys()

	def start(self, sender):
		self._startOverridingRFkeys()

	def _startOverridingRFkeys(self):
		self._stopOverridingRFkeys()
		self.monitor = AppKit.NSEvent.addLocalMonitorForEventsMatchingMask_handler_(
			AppKit.NSKeyDownMask, self._keyDown)

	def _stopOverridingRFkeys(self):
		if self.monitor is not None:
			AppKit.NSEvent.removeMonitor_(self.monitor)
		self.monitor = None

	def _keyDown(self, event):
		allKeys = MODIFIER_TO_STR.get(event.modifierFlags(), '') + event.charactersIgnoringModifiers().lower()
		if allKeys in _ignore:
			print("overriding %s" %allKeys)
		else:
			self._stopOverridingRFkeys()
			AppKit.NSApp().sendEvent_(event)
			self._startOverridingRFkeys()


KeyEventMonitor()

]]></description><link>https://forum.robofont.com/topic/669/can-t-change-some-menu-shortcuts</link><guid isPermaLink="true">https://forum.robofont.com/topic/669/can-t-change-some-menu-shortcuts</guid><dc:creator><![CDATA[bahman]]></dc:creator><pubDate>Tue, 08 Oct 2019 11:53:05 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_unsolved]] Getting the command for a menu item]]></title><description><![CDATA[Hi, this is a rather odd request! It's possible to get menu shortcuts using the getMenuShortCuts in mojo.UI, I was wondering if I can also access its command?
I want to introduce shortcuts through a tool that conflicts with RF default keys like "⌘s" or "⌘⇧s" and I want to replace them to "␣s" or "␣⇧s" when the tool is active. But now I want to fire the command that saves the active UFO when the user hits "␣s", it's possible through font.save() but I'm not sure if it works for "Save as" or other menu items. So I want to access the command itself so I don't have to redefine it.
Thanks!
]]></description><link>https://forum.robofont.com/topic/668/getting-the-command-for-a-menu-item</link><guid isPermaLink="true">https://forum.robofont.com/topic/668/getting-the-command-for-a-menu-item</guid><dc:creator><![CDATA[bahman]]></dc:creator><pubDate>Sun, 14 Jul 2019 11:19:08 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] Programmatically change menu shortcuts]]></title><description><![CDATA[Alright, I will consider this for my extension until it gets fixed. These are awaited features for me and very much appreciated.
]]></description><link>https://forum.robofont.com/topic/619/programmatically-change-menu-shortcuts</link><guid isPermaLink="true">https://forum.robofont.com/topic/619/programmatically-change-menu-shortcuts</guid><dc:creator><![CDATA[bahman]]></dc:creator><pubDate>Mon, 15 Apr 2019 13:09:37 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] Sometimes, when I try to run a script, it just opens in the scripting window. Why?]]></title><description><![CDATA[Interesting solution. Sounds good to me! Thanks for figuring out a way to solve this. :)
]]></description><link>https://forum.robofont.com/topic/588/sometimes-when-i-try-to-run-a-script-it-just-opens-in-the-scripting-window-why</link><guid isPermaLink="true">https://forum.robofont.com/topic/588/sometimes-when-i-try-to-run-a-script-it-just-opens-in-the-scripting-window-why</guid><dc:creator><![CDATA[StephenNixon]]></dc:creator><pubDate>Thu, 23 May 2019 03:03:34 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] Syntax for keyboard &quot;# shortCut:&quot;?]]></title><description><![CDATA[Perfect, thanks Frederik.
]]></description><link>https://forum.robofont.com/topic/550/syntax-for-keyboard-shortcut</link><guid isPermaLink="true">https://forum.robofont.com/topic/550/syntax-for-keyboard-shortcut</guid><dc:creator><![CDATA[ryan]]></dc:creator><pubDate>Mon, 10 Dec 2018 17:59:18 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] Metrics Machine 1.0.3 Shortcut Keys]]></title><description><![CDATA[Oh — thank you! Am I missing a the manual somewhere?
⌘+i = iddqd ;-)
]]></description><link>https://forum.robofont.com/topic/531/metrics-machine-1-0-3-shortcut-keys</link><guid isPermaLink="true">https://forum.robofont.com/topic/531/metrics-machine-1-0-3-shortcut-keys</guid><dc:creator><![CDATA[Kris]]></dc:creator><pubDate>Mon, 12 Nov 2018 09:17:32 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] Request: an alert when a short key is already taken by another menu item + a view of all short keys in use]]></title><description><![CDATA[Oh nice! This will be super handy. :)
]]></description><link>https://forum.robofont.com/topic/484/request-an-alert-when-a-short-key-is-already-taken-by-another-menu-item-a-view-of-all-short-keys-in-use</link><guid isPermaLink="true">https://forum.robofont.com/topic/484/request-an-alert-when-a-short-key-is-already-taken-by-another-menu-item-a-view-of-all-short-keys-in-use</guid><dc:creator><![CDATA[StephenNixon]]></dc:creator><pubDate>Sat, 16 Jun 2018 14:28:15 GMT</pubDate></item><item><title><![CDATA[ [[qanda:topic_solved]] Is it possible to sort the tools in Toolbar?]]></title><description><![CDATA[Ahhh I completely missed that. Thanks!
]]></description><link>https://forum.robofont.com/topic/384/is-it-possible-to-sort-the-tools-in-toolbar</link><guid isPermaLink="true">https://forum.robofont.com/topic/384/is-it-possible-to-sort-the-tools-in-toolbar</guid><dc:creator><![CDATA[StephenNixon]]></dc:creator><pubDate>Tue, 19 Feb 2019 18:24:50 GMT</pubDate></item><item><title><![CDATA[Override a default shortcut]]></title><description><![CDATA[if you want to receive those notifications, just add this .py file to the start up scripts in your preferences. This doesn't effect performance, unless to your part of the code, what is been executed when the notification is been send, takes a while.
]]></description><link>https://forum.robofont.com/topic/382/override-a-default-shortcut</link><guid isPermaLink="true">https://forum.robofont.com/topic/382/override-a-default-shortcut</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Wed, 10 Jun 2015 10:59:08 GMT</pubDate></item><item><title><![CDATA[Shortcuts to python scripts]]></title><description><![CDATA[Somehow I can't set the preferences to use "keyboard shortcuts to python script" work. What's the right procedure?
]]></description><link>https://forum.robofont.com/topic/241/shortcuts-to-python-scripts</link><guid isPermaLink="true">https://forum.robofont.com/topic/241/shortcuts-to-python-scripts</guid><dc:creator><![CDATA[jbl]]></dc:creator><pubDate>Tue, 12 Mar 2013 17:50:25 GMT</pubDate></item><item><title><![CDATA[Swap layers via hot key]]></title><description><![CDATA[With swap you move the current layer to an other layer. Flipping would also move the layer glyph to the source layer.
The action menu in the layer inspector pane will be gone in the next version.
but you can still use:
g = CurrentGlyph()
g.flipLayers("foreground", "background")

]]></description><link>https://forum.robofont.com/topic/139/swap-layers-via-hot-key</link><guid isPermaLink="true">https://forum.robofont.com/topic/139/swap-layers-via-hot-key</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Mon, 04 Jun 2012 12:34:12 GMT</pubDate></item><item><title><![CDATA[Shortcuts for scripts&#x2F;extensions]]></title><description><![CDATA[That is correct.
For hot keys to scripts in an extension it's up to the developer of the extension to assign hot keys.
]]></description><link>https://forum.robofont.com/topic/131/shortcuts-for-scripts-extensions</link><guid isPermaLink="true">https://forum.robofont.com/topic/131/shortcuts-for-scripts-extensions</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Wed, 30 May 2012 17:22:55 GMT</pubDate></item><item><title><![CDATA[Hide Inspector]]></title><description><![CDATA[The beta for 1.3 hides the inspector window when it's already open. So one can close and open the inspector window with the same short cut.
]]></description><link>https://forum.robofont.com/topic/119/hide-inspector</link><guid isPermaLink="true">https://forum.robofont.com/topic/119/hide-inspector</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Thu, 12 Apr 2012 17:46:11 GMT</pubDate></item><item><title><![CDATA[Short key scripts]]></title><description><![CDATA[You can also set the keyboard shortcuts through System Prefs &gt; Keyboard &gt; Application Shortcuts. This allows a greater range of keys and modifiers.
http://cl.ly/3u05140G2S353P3F1u3e
]]></description><link>https://forum.robofont.com/topic/103/short-key-scripts</link><guid isPermaLink="true">https://forum.robofont.com/topic/103/short-key-scripts</guid><dc:creator><![CDATA[danmilne]]></dc:creator><pubDate>Tue, 13 Mar 2012 22:18:14 GMT</pubDate></item><item><title><![CDATA[Custom keyboard shortcuts]]></title><description><![CDATA[(I'm not sure that I did not post this already but…) Please allow full keyboard shortcuts support for all menu items. (Not only a few functions) And please do not reserve keys for some tools.
(Including control keys (cmd, ctrl…) and arrow keys accessible as hotkeys).
]]></description><link>https://forum.robofont.com/topic/34/custom-keyboard-shortcuts</link><guid isPermaLink="true">https://forum.robofont.com/topic/34/custom-keyboard-shortcuts</guid><dc:creator><![CDATA[jbl]]></dc:creator><pubDate>Mon, 10 Oct 2011 12:33:40 GMT</pubDate></item><item><title><![CDATA[Custom keyboard shortcuts]]></title><description><![CDATA[Thank you!
]]></description><link>https://forum.robofont.com/topic/10/custom-keyboard-shortcuts</link><guid isPermaLink="true">https://forum.robofont.com/topic/10/custom-keyboard-shortcuts</guid><dc:creator><![CDATA[jbl]]></dc:creator><pubDate>Wed, 21 Sep 2011 07:19:44 GMT</pubDate></item></channel></rss>