Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Global shortcut to hide/unhide Helium #71

Open
harrisonweinerman opened this issue May 5, 2015 · 14 comments
Open

Global shortcut to hide/unhide Helium #71

harrisonweinerman opened this issue May 5, 2015 · 14 comments

Comments

@harrisonweinerman
Copy link

No description provided.

@JadenGeller
Copy link
Owner

Definitely a cool idea. Planned! 💃

@fabdurso
Copy link

fabdurso commented May 9, 2015

I added a boss-alert 😄 #75
@JadenGeller what do you think about it?

@ryh
Copy link
Contributor

ryh commented May 10, 2015

⌘+H couldn't do this feature?

@fabdurso
Copy link

Yes, but when you do ⌘+H, then it's not that easy to show Helium again!

@JadenGeller
Copy link
Owner

You can't use Command+H when Helium isn't frontmost. What is desired is a global shortcut (that will work in any other app and hopefully not clash with other shortcuts) that will always hide Helium. It's unclear that a global shortcut to show Helium is necessary as that isn't enough of an emergency to warrant a shortcut (maybe it would be reasonable to make the hide shortcut, when already hidden, show Helium).

@ryh
Copy link
Contributor

ryh commented May 11, 2015

So this app is for people watch video in work time and can hide it quickly from boss? 🙅

@JadenGeller
Copy link
Owner

Definitely not, but it could be useful to hide it via a keyboard shortcut nevertheless.

@fabdurso
Copy link

No @ryh , I don't think so because you aren't doing something illegal!
But I think it could be helpful in emergency situations! It should be named "girlfriend alert" too 🤘

@cobalamin
Copy link

+1: This is actually what I thought would be the central feature here 😄
And it's not just useful for watching Netflix during work or what have you - in fact, I think of this feature being a boon to productivity.

I found this while searching for something like the overlays TotalTerminal/TotalFinder provide, but with a browser. Those things are extremely useful! You can show and hide them globally whenever you need them, they auto-hide on unfocus like normal windows, but you can pin them if you need them while working in another window simultaneously.

Example: I'm looking for something on StackOverflow and found a nice, but complex answer for my problem, so I want to try it out in an editor while being able to very quickly go back to the answer in my browser.

@fabdurso
Copy link

From what I can see, @JadenGeller left the development. Hey J!!

@micnguyen
Copy link

+1 for this feature.

@JonasDoebertin
Copy link

👍 Would be quite useful to be able to hide Helium at any times with a keyboard shortcut.

@jameslafa
Copy link

Here is the temporary solution:

Open Automator, select to create a Service, configure to have it receive no input in any application.

From the library, double-click Utilities » Run AppleScript and enter the following into the large text area:

on run {input, parameters}

    tell application "System Events"
        set names to name of application processes
        if names contains "Helium" then
            tell application process "Helium"
                if visible then
                    tell application "Helium" to activate
                    key code 49
                    set visible to false
                else
                    set visible to true
                    tell application "Helium" to activate
                    key code 49
                end if
            end tell
        else
            display dialog "Helium is not running"
        end if
    end tell

    return input
end run

Save under any name. Assign a keyboard shortcut in System Preferences » Keyboard » Keyboard Shortcuts » Services.

It does the job :)

@avncharlie
Copy link

If anyone uses BetterTouchTool, it's also pretty easy to make an AppleScript that toggles hiding/unhiding Helium and binding that to anything you want. It would be a great feature to have built into the app though.

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

No branches or pull requests

9 participants