<ul dir="auto">
<li>Electron Version: 2.0.1</li>
<li>Operating System (Platform and Version): MacOS 10.13.1</li>
<li>Last known working Electron version: 2.0.1</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
This error occurred when registered the shortcut in only meta key combination.<br>
For example, <kbd>CommandOrControl</kbd>+<kbd>Shift</kbd> or only <kbd>CommandOrControl</kbd></p>
<p dir="auto">The code is</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="globalShortcut.register('CommandOrControl+Shift', () =&gt; {
	// …
})"><pre class="notranslate"><span class="pl-s1">globalShortcut</span><span class="pl-kos">.</span><span class="pl-en">register</span><span class="pl-kos">(</span><span class="pl-s">'CommandOrControl+Shift'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
	<span class="pl-c">// …</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">I expected it would work as other shortcut registration.</p>
<p dir="auto"><strong>Actual behavior</strong></p>
<p dir="auto">It occurs this error message.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: Error processing argument at index 0, conversion failure from Shift+CommandOrControl
    at registerFontShortcut (/repo-path/main.js:161:20)
    at fonts.map.font (/repo-path/main.js:97:36)
    at Array.map (&lt;anonymous&gt;)
    at EventEmitter._electron.ipcMain.on (/repo-path/main.js:97:24)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)
    at WebContents.&lt;anonymous&gt; (/repo-path/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/browser/api/web-contents.js:286:13)
    at emitTwo (events.js:126:13)
    at WebContents.emit (events.js:214:7)"><pre class="notranslate"><code class="notranslate">TypeError: Error processing argument at index 0, conversion failure from Shift+CommandOrControl
    at registerFontShortcut (/repo-path/main.js:161:20)
    at fonts.map.font (/repo-path/main.js:97:36)
    at Array.map (&lt;anonymous&gt;)
    at EventEmitter._electron.ipcMain.on (/repo-path/main.js:97:24)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)
    at WebContents.&lt;anonymous&gt; (/repo-path/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/browser/api/web-contents.js:286:13)
    at emitTwo (events.js:126:13)
    at WebContents.emit (events.js:214:7)
</code></pre></div>
<p dir="auto"><strong>To Reproduce</strong></p>
<p dir="auto">Starting a electron app and using these accelerator combination can reproduce it.</p>
<p dir="auto"><strong>Additional Information</strong></p>
<p dir="auto">I think maybe it is the limitation of the OS. It’s weird to register only the meta key as shortcut.<br>
If it is not permitted by the OS, should add usage restrictions of this api?</p>
<ul dir="auto">
<li>Electron version: 1.6</li>
<li>Operating system: windows 10</li>
</ul>
<p dir="auto">I can't register a combination of modifiers as a global shortcut.</p>
<p dir="auto">When doing:  <code class="notranslate">globalShortcut.register( "Shift+Super", someFunction );</code> I expect to have the function assigned to the Shift + Super key combination, but I get the following error:<br>
<code class="notranslate">TypeError: Error processing argument at index 0, conversion failure from Shift+Super</code></p>
<p dir="auto">From my experiments we get this error everytime the shortcut is a combination of modifier keys only.</p>
<p dir="auto">I don't think it's an OS limitation because I can assign the shortcut in another software.</p>