Skip to content
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

Unable to summon hyper without first manually opening an instance of it #46

Closed
2 tasks done
jcklpe opened this issue Nov 12, 2018 · 2 comments
Closed
2 tasks done

Comments

@jcklpe
Copy link

jcklpe commented Nov 12, 2018

  • I am on the latest hyperterm-summon version
  • I have searched the issues of this repo and believe that this is not a duplicate

Issue

Steps to Reproduce

  1. Start up computer
  2. hit hotkey for hyperterm-summon

Expected Result

hyper.js starts

Actual Result

hyper doesn't start.

I don't actually know if this is an issue: Is it even possible to assign a global hotkey to activate an electron app that hasn't yet been started? I assume not. This seems to me like it is probably within the parameters of expected behavior. But I was asked to make a ticket so I did. I went ahead and made an AutoHotkey macro to summon hyper anyway, and the hyper-summon plugin allows me to minimize and and summon it once it's open.

@dcalhoun
Copy link
Collaborator

Thank you for opening this separate issue, it helps keep threads focused.

From my brief research, I believe you are correct that this is not possible. Electron must be running for it to register a global shortcut.

Happy to hear that you have a work around for now. If you investigate further and find a way to accomplish this, let me know! In the meantime, I'm going to close this issue.

Thanks again.

@jcklpe
Copy link
Author

jcklpe commented Nov 12, 2018

For future Windows users who might face this issue here's some info on the AHK solution.

  1. Install AHK
  2. write a file that contains the following config.
    ^+.:: ; ctrl+shift+. to launch hyper.js Run C:\Users\{{YOUR USERNAME}}\AppData\Local\hyper\app-2.0.0\Hyper.exe Return
  3. Hit the win key and type run to open the windows runner.
  4. type shell:startup to open the Windows shell startup folder.
  5. Place the file.ahk in the folder. Now that ahk script will always register itself at start time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants