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

Hide program #61

Open
damsdev1 opened this issue Jul 29, 2022 · 3 comments
Open

Hide program #61

damsdev1 opened this issue Jul 29, 2022 · 3 comments

Comments

@damsdev1
Copy link

I have a suggestion, it is quite annoying to have the console open all the time, the best would be to make an option that would hide the window or that would allow the window to be reduced in the system tray.

@Legion2
Copy link
Owner

Legion2 commented Jul 29, 2022

You can start the program via windows task scheduler, then it will not be visible and you can also start it automatically on pc start.

@Legion2
Copy link
Owner

Legion2 commented Mar 4, 2023

In the Windows task scheduler, create a new task, in the "General" tab select "Run whether user is logged on or not" option under "Security options". Also enable "Do not store password" option. In the "Action" tab add a new action, which runs the .bat script.

@hasteagag
Copy link

Task scheduler should work, but just adding an alternative here, if you run this AHK script as admin, it should hide the window if you have not renamed the exe.

`SetTitleMatchMode,2

idToHide:="open-cue-service.exe ahk_class ConsoleWindowClass ahk_exe open-cue-service.exe"

WinHide,% idToHide`

But keep in mind, you will need to use task manager or another method to kill the exe if something goes wrong say with icue and the service crashes. For me I tend to keep it on a second virtual desktop so its out of the way but easy to close for any reason.

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

3 participants