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

Run autoPause at startup #24

Merged
merged 1 commit into from
Nov 9, 2022
Merged

Run autoPause at startup #24

merged 1 commit into from
Nov 9, 2022

Conversation

touanu
Copy link
Contributor

@touanu touanu commented Oct 31, 2022

Tried to add command to setwallpaper() but not working, so i added it in autorun launch

@SegoCode
Copy link
Owner

SegoCode commented Nov 7, 2022

Hi,

Thats because the mvp pipe must be open

Run(@ComSpec & " /c " & "echo cycle pause >\\.\pipe\mpvsocket", "", @SW_HIDE)

But... in my windows works autoPause in the startup, do you know if this is a code issue?

@touanu
Copy link
Contributor Author

touanu commented Nov 8, 2022

I am not sure, never see autoPause.exe process run together with mpv at startup if i don't add run command

@SegoCode
Copy link
Owner

SegoCode commented Nov 9, 2022

Well... i found why...

;Service
Run(@WorkingDir & "\tools\autoPause.exe", "", @SW_HIDE)
;Autorun

I use a 1.9 version, in that version autopause always runs on start, so... you found a 1.10 bug thx!

@SegoCode SegoCode merged commit 2f6a927 into SegoCode:master Nov 9, 2022
@touanu touanu deleted the patch-1 branch November 15, 2022 16:44
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

Successfully merging this pull request may close these issues.

2 participants