Need help!
-
- Posts: 4
- Joined: 19 Apr 2021, 22:48
Need help!
Can someone help me with something, i need a script that plays a pre recorded clicking sound everytime i click and it should overlap the sound. For example if I click 10 times in one second it plays the sound rapidly but if i press it once it plays the sound once. Basically it plays the sound everytime i click the mouse right and left click.
Re: Need help!
Hallo,
try:
try:
Code: Select all
RegRead, ClickWav, HKEY_LOCAL_MACHINE
, SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WINWORD.EXE
IF !ClickWav := StrReplace(ClickWav, "WINWORD.EXE", "Media\CLICK.WAV")
MsgBox, Microsoft Office not found
Return
~*LButton::
~*RButton::SoundPlay,% ClickWav
-
- Posts: 4
- Joined: 19 Apr 2021, 22:48
Re: Need help!
This Works until I hit 8 clicks per second, im using an autoclicker with this and is there any way it can be playing the sound clearly at 14 cps? Right now when I play it at 14 cps the sound cuts outRohwedder wrote: ↑20 Apr 2021, 02:18Hallo,
try:Code: Select all
RegRead, ClickWav, HKEY_LOCAL_MACHINE , SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WINWORD.EXE IF !ClickWav := StrReplace(ClickWav, "WINWORD.EXE", "Media\CLICK.WAV") MsgBox, Microsoft Office not found Return ~*LButton:: ~*RButton::SoundPlay,% ClickWav
Re: Need help!
Just an idea:
Let e.g. the VLC player play some continuous noise and use:
Let e.g. the VLC player play some continuous noise and use:
Code: Select all
SoundSetWaveVolume, 0
Return
~*LButton::
~*RButton::SoundSetWaveVolume, 50
~*LButton Up::
~*RButton Up::SoundSetWaveVolume, 0
-
- Posts: 4
- Joined: 19 Apr 2021, 22:48
Re: Need help!
This didnt workRohwedder wrote: ↑20 Apr 2021, 10:02Just an idea:
Let e.g. the VLC player play some continuous noise and use:Code: Select all
SoundSetWaveVolume, 0 Return ~*LButton:: ~*RButton::SoundSetWaveVolume, 50 ~*LButton Up:: ~*RButton Up::SoundSetWaveVolume, 0
-
- Posts: 4
- Joined: 19 Apr 2021, 22:48
Re: Need help!
I Still need help :/
Re: Need help!
Any faster than this I can't:
Code: Select all
#NoEnv
SetBatchLines, -1
RegRead, ClickWav, HKEY_LOCAL_MACHINE
, SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WINWORD.EXE
IF !ClickWav := StrReplace(ClickWav, "WINWORD.EXE", "Media\CLICK.WAV")
{
MsgBox, Microsoft Office not found
Return
}
Script =
(
#SingleInstance, Off
#NoTrayIcon
SoundPlay, %ClickWav%
)
Shell := ComObjCreate("WScript.Shell")
Call := "AutoHotkey.exe /ErrorStdOut *"
Return
~*LButton::
~*RButton::Ex:=Shell.Exec(Call),Ex.StdIn.Write(Script),Ex.StdIn.Close()
Who is online
Users browsing this forum: No registered users and 35 guests