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

Simple way to start on bootup #1

Closed
1000thSummer opened this issue Sep 12, 2022 · 3 comments
Closed

Simple way to start on bootup #1

1000thSummer opened this issue Sep 12, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@1000thSummer
Copy link
Contributor

Found this charming script and like it.

There is a way to run the script automatically when windows boot up by adding a scheduled task on user log on.

The action is like

  <Actions Context="Author">
    <Exec>
      <Command>pathToAutoHotKeyFolder\AutoHotkeyU64.exe</Command>
      <Arguments>pathToGitRepo\ahk-hide-volume-osd-main\hide-volume-osd.ahk</Arguments>
    </Exec>
  </Actions>
@sophice
Copy link
Owner

sophice commented Sep 12, 2022

Thanks for the feedback! Glad you like it!

I've been meaning to add this feature as I tend to always want it hidden. I'll give it a shot later tonight, along with the volume up/down PR you made!

@sophice
Copy link
Owner

sophice commented Sep 14, 2022

I've just pushed a bunch of changes that fix issues with it running as a scheduled task on log in. I've also pushed an install.ahk and uninstall.ahk that create (and delete) the scheduled task for you. I've rebooted a couple times and it worked, so give it a shot. Let me know if you have any issues or suggestions to improve it further!

@sophice sophice closed this as completed Sep 14, 2022
@1000thSummer
Copy link
Contributor Author

Thanks for the updates.
Your script worked just fine for me. Note that a 10 second delay for scheduled task works more stable for me.

I am now using the script by default and just uninstalled its ancestor lol.

@sophice sophice added the enhancement New feature or request label Sep 15, 2022
@sophice sophice self-assigned this Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants