Opening a mp3-file

Get help with using AutoHotkey and its commands and hotkeys
Billykid
Posts: 26
Joined: 16 Sep 2019, 08:59

Opening a mp3-file

16 Sep 2019, 10:38

Hi guys,


how can I open an mp3 file and save its contents in a variable?

Thanks for your help in advance.
trust_me
Posts: 83
Joined: 29 Jul 2017, 10:46

Re: Opening a mp3-file

17 Sep 2019, 06:10

i do not know what you are trying to do but reading a binary file into a var :

https://www.autohotkey.com/docs/objects/File.htm#RawRead

or use :
https://www.autohotkey.com/docs/commands/FileRead.htm

with the *c option ( explaining in the link for FileRead )

btw you cannot play a mp3 from memory , only wav is supported !

Return to “Ask For Help”

Who is online

Users browsing this forum: CarPiotr, Google [Bot], Xtra and 61 guests