![Sampletank 4 se](https://cdn1.cdnme.se/5447227/9-3/7_64e61dfbddf2b36517292648.png)
![autohotkey piano player autohotkey piano player](https://luxury-pianos.com/wp-content/uploads/2020/09/playing-piano.jpg)
Hotstrings: Hotstrings expand abbreviations into full text, but they can trigger any action you can script. Setup options: AutoHotkey's setup process includes options galore. Best of all, AutoHotkey is open source freeware. You can also write macros or use the app's macro recorder. Gui, Add, Button, x+5 y100 w50 h75 gb5, B5`n.AutoHotkey automates keystrokes and mouse clicks to more efficiently handle repetitive tasks, like clicking through screens or entering your street address. It should return "MCIFile1" or an error message.Ĭode: Select all #Warn Enable warnings to assist with detecting common errors. Second, I would add a message to the "Load" subroutine near the end of the script, to be sure MCI is loading the files correctly. If not take the "BackgroundTrans" option out of the "Gui, Add, Text" lines and see if that helps. I would put a message box in some of the subroutines to makes sure the text is working as buttons on your system. You might need to trouble shoot the small things first if you haven't already. I remembered this morning that my system does play both mp3 and wav but only mp3 responds to the MCI_SetVolume function. I also get digitalvideo for mp3 and waveaudio for wav. I started the drum script and this piano script using the SoundPlay command built in AHK but it had a huge amount of lag which made it unusable so I switched to the MCI libary.
![autohotkey piano player autohotkey piano player](https://sb1985ue4.files.wordpress.com/2018/02/umggamepad1.jpg)
I'll post that if you think it would help. I first made a simple audio player to learn how the MCI functions work. I did everything based off the MCI library.
![Sampletank 4 se](https://cdn1.cdnme.se/5447227/9-3/7_64e61dfbddf2b36517292648.png)