Using Javascript?

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

nonameman
Posts: 7
Joined: Sun Mar 31, 2013 7:01 pm

Using Javascript?

Post by nonameman » Sat Jun 29, 2013 9:39 am

Hello everyone!

I've seen 2 .js files in the the new MMW's script folder. Is there any way to write scripts using Javascript?

Another unrelated question: How can I implement the interaction between WebControl and MMW?

I'd appreciate it if anyone could point me to the right direction. Thanks and happy scripting!
Last edited by Lowlander on Sat Jun 29, 2013 10:00 am, edited 1 time in total.
Reason: Merged with existing post

Lowlander
Posts: 46497
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Using Javascript?

Post by Lowlander » Sat Jun 29, 2013 10:01 am

They're probably for lyrics and art retrieval new in MediaMonkey 4.1.
Lowlander (MediaMonkey user since 2003)

Peke
Posts: 12697
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: Using Javascript?

Post by Peke » Sun Jun 30, 2013 7:29 pm

Another suggestion is to look at few MMW Scripts that Uses Search (Musicbrainz, All Music,) and some Trixmoto plugins like monkey rok.
Best regards,
Pavle
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add SCREENSHOTS to forum

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Using Javascript?

Post by trixmoto » Mon Jul 01, 2013 7:34 am

You can write scripts in JScript, although I have written all of mine in VBScript (although some have web functionality that does use Javascript). There are some differences between JScript and Javascript, but they are minimal...
The biggest difference now between JavaScript and JScript are all of the additional commands that JScript supports that allow access to ActiveX and the local computer. These commands are intended for use on intranet sites where you know the configuration of all of the computers and that they are all running Internet Explorer.

There are still a few areas remaining where JavaScript and JScript differ in the means that they provide to perform a particular task. Except in these situations the two languages can be considered to be equivalent to one another and so unless otherwise specified all of the references to JavaScript that you see will also usually include JScript.
From http://javascript.about.com/od/reference/a/jscript.htm
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.

Post Reply