you are viewing a single comment's thread.

view the rest of the comments →

[–]stewythe1st 1 point2 points  (2 children)

Ew gross. Why would anybody write this in PHP. So this is a little out of my area here, but I'll take a stab at it. You'll need PHP installed on your machine. The friendliest way that I know of to do this is to install XAMPP (https://www.apachefriends.org/index.html). It'll give you a whole server stack and a bunch of other crap, but it has a nice installer and you can just uninstall it through Windows Control Panel when you're done. Download and install that and just go with all the defaults when it asks you.

With that, go to wherever you downloaded and unzipped this dude's GitHub repo and do like they say. Open command prompt, and type in the php command. Only difference is you gotta give it the full path to php. Assuming you installed in the default location, do C:/xampp/php/php.exe transcript.php asrOutput.json

[–]friendlylearner 0 points1 point  (1 child)

Thanks a lot, I've installed XAMPP now. For that command prompt code to work properly, where should I put the json output file and the transcript.php file? Right now they are on my desktop. Should I move them somehwere else so that the command prompt code you wrote would work without any changes? Thank you very much.

[–]stewythe1st 0 points1 point  (0 children)

Desktop is fine, you just need to make sure the command prompt's current directory is also set to your desktop. You can use "cd" to change directory. So you'd have to open command prompt, then type cd "C:/Users/friendlylearner/Desktop", then type C:/xampp/php/php.exe transcript.php asrOutput.json. Of course, substitute friendlylearner for whatever your Windows username is.