No Sound on Latest Windows 10

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Twilinter
Posts: 7
Joined: 14 Jun 2017, 08:09

No Sound on Latest Windows 10

14 Jun 2017, 08:22

Hi,

I reported this on our Discord and IRC but no good, seems there's no report about it here either. And waited as someone told me so, but even after 1.1.26.00 it's still not working.

So here's the problem, i got a script with sound that used to work before but after the Windows 10 Update it doesn't work anymore. Both SoundBeep and SoundPlay.

Some information:
  1. Win 10 with auto update on.
  2. Script worked before, nothing changed, detail below.
  3. Realtek HD Audio Sound Driver updated right after i got this problem.
  4. Speaker and Headphone are working properly, all other apps are fine.
  5. Tried running as Admin, doesn't work
Win 10 Pro v1703 b15063.413

Autohotkey 1.1.26.00 x64 Unicode

Code: Select all

Pause::
	Suspend
	Pause,,1
Return

^R::
	SoundPlay, %A_ScriptDir%\activate.wav
	SendRaw, test
Return

d::
	SendRaw, test
	SoundBeep
;	SoundBeep, 800, 4000 
;	SoundPlay, DllCall("Kernel32\Beep",int,1000,int,500)
Return
Hope you guys can help me fix it soon, it's been long enough.

Best Regards,
Attachments
activate.7z
(27.59 KiB) Downloaded 96 times
Last edited by Twilinter on 20 Jun 2017, 07:11, edited 2 times in total.
User avatar
xZomBie
Posts: 256
Joined: 02 Oct 2013, 02:57

Re: No Sound on Latest Windows 10

18 Jun 2017, 06:22

Script works for me but I did replace the activate.wav to something else since you didn't provide it for us. Check the audio file, test it with another file.
Twilinter
Posts: 7
Joined: 14 Jun 2017, 08:09

Re: No Sound on Latest Windows 10

19 Jun 2017, 01:59

Soundbeep doesn't work, simple as that.
Twilinter
Posts: 7
Joined: 14 Jun 2017, 08:09

Re: No Sound on Latest Windows 10

19 Jun 2017, 02:02

activate.wav added, like i said it worked before, but whatever
Twilinter
Posts: 7
Joined: 14 Jun 2017, 08:09

Re: No Sound on Latest Windows 10

20 Jun 2017, 00:01

Bump, this is a clear bug, i wonder why the moderator moved my topic here and no help so far, weird.
RickC
Posts: 299
Joined: 27 Oct 2013, 08:32

Re: No Sound on Latest Windows 10

20 Jun 2017, 06:55

I tested the script (including the activate.wav file) in Windows 10 Creators Update (Version 1703 Build 15063.332, i.e. latest Current Branch but not latest build) using AHK 1.1.25.02 32-bit Unicode. It worked perfectly.

By 'latest version', do you mean an 'Insider Preview' build?
Twilinter
Posts: 7
Joined: 14 Jun 2017, 08:09

Re: No Sound on Latest Windows 10

20 Jun 2017, 07:11

Win 10 Pro v1703 b15063.413

Autohotkey 1.1.26.00 x64 Unicode
RickC
Posts: 299
Joined: 27 Oct 2013, 08:32

Re: No Sound on Latest Windows 10

20 Jun 2017, 07:42

Twilinter wrote:Win 10 Pro v1703 b15063.413

Autohotkey 1.1.26.00 x64 Unicode
Updated AHK 1.1.25.02 32-bit Unicode to AHK 1.1.26.00 32-bit Unicode. Your script worked perfectly.

Changed AHK 1.1.26.00 32-bit Unicode to 64-bit Unicode version. Your script worked perfectly.

Now at 6% of very slow Windows Update... I'll post back when it's completed.
RickC
Posts: 299
Joined: 27 Oct 2013, 08:32

Re: No Sound on Latest Windows 10

20 Jun 2017, 09:34

After a reboot, Winver now shows Windows 10 1703 Build 15063.413. Your script worked perfectly.

I reverted AHK back to 32-bit and your script still worked perfectly.

Hope this helps...
gregster
Posts: 8921
Joined: 30 Sep 2013, 06:48

Re: No Sound on Latest Windows 10

20 Jun 2017, 13:55

I can't confirm the bug. I don't have the exact setup. But your script works without problems on my Win 10 Pro 32bit (Windows 10 1703 Build 15063.413) with the newest 32bit AHK unicode.
On my Win7 64 bit, your script both works with 32bit and 64bit unicode. I assume, there is a problem on your computer. We don't all use Win10 (regularly), but if it was a bug, there would be surely more complaints about it...
Twilinter
Posts: 7
Joined: 14 Jun 2017, 08:09

Re: No Sound on Latest Windows 10

21 Jun 2017, 01:26

Nope, those didn't help. Like i said, only autohotkey, all others work fine, even rare app such as Helium Music Manager. Autohotkey isn't even shown on the Volume Mixer, like it should be.
RickC
Posts: 299
Joined: 27 Oct 2013, 08:32

Re: No Sound on Latest Windows 10

21 Jun 2017, 08:18

I'm now using the exact same versions/builds of both Win 10 CU 1703 and AHK as you and cannot duplicate the problem you are having. As gregster suggests, this indicates another factor must be in play.

Elevation? (I'm using Win 10 from an account in the Administrators group)
AV/Anti-malware? (I'm using Windows Defender, not a 3rd-party)
Script location? (I'm running the script from a C:\Temp folder rather than, for example, the root of C: where Win 10 enforces certain restrictions.)
Twilinter
Posts: 7
Joined: 14 Jun 2017, 08:09

Re: No Sound on Latest Windows 10

21 Jun 2017, 12:56

I think those are irrelevant. Just found out that 2 more apps got the same problem. This is so weird, first time encounter this. Autohotkey just doesn't show up in Volume Mixer, all devices.

Tried on a friend PC, same windows build, realtek but it works perfectly.

Thanks anyway. If anyone can help me with this i greatly appreciate it, i just don't want to re-install my windows.
Julius
Posts: 67
Joined: 15 Sep 2015, 07:41
Contact:

Re: No Sound on Latest Windows 10

24 Jul 2017, 11:51

Hi, just to confirm: I've got exactly the same problem on 1 (one) computer, on all others I tried it doesn't show up. I made a workaround by using Run, file.wav instead of soundplay, file.wav and it works fine. Or you may use mp3-files, they still work with Soundplay,

Autohotkey is a fantastic language, it has only 1 major drawback: it requires MS Windows

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ArkuS, Descolada and 127 guests