View Issue Details

IDProjectCategoryView StatusLast Update
0002747MMW v4Framework: Scripts/Extensionspublic2014-02-13 16:51
ReporterLudek Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.0 
Target Version5.0.0 
Summary0002747: Remove dependance on msscript.ocx
DescriptionCurrently MM needs msscript.ocx in order to execute scripts. However, this isn't absolutely necessary, we can do without it, the methods for script execution can be executed directly from MM.
TagsNo tags attached.
Fixed in build

Relationships

related to 0011546 feedbackpeke Uninstall: Sometimes deletes MSSCRIPT.OCX from system32 

Activities

jiri

2007-01-05 13:58

administrator   ~0008378

Technical info: The methods to be used are in ACTIVSCP.H file (standard MS WinAPI header file). I found some examples of how interfaces from this file should be used:

http://support.microsoft.com/kb/223139
http://blogs.msdn.com/ericlippert/archive/2005/10/12/480154.aspx
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_10118366.html

So, shortly, we need to remove dependance on MSScriptControl_TLB.pas from Scripts.pas.

jiri

2007-01-05 13:59

administrator   ~0008379

Assigning to Pavel. Assign back to me when you are done, so that I can remove msscript.ocx from the installer.

user9

2007-09-01 10:38

  ~0010426

I have removed dependance on msscript.ocx and implemented internal MM script execution mechanism.

jiri

2007-09-01 17:27

administrator   ~0010427

While it works in some scripts (e.g. Statistics), it causes errors in some specific ones - in my case I couldn't get running http://www.mediamonkey.com/wiki/index.php/Sample_AMG_Search_script - when Search from Amazon is initiated, an error occurs. When I reverted SVN Revision 3727, it started to work normally.

Raising to Immediate, since we can't include it this way in the next release. In case it's fixed, it could be included, but we will probably wait for more testing in a new version.

jiri

2007-09-01 17:28

administrator   ~0010428

Btw, as for JScript testing, some scripts are in forum, e.g. http://www.mediamonkey.com/forum/viewtopic.php?t=12496&highlight=jscript

jiri

2007-09-01 17:32

administrator   ~0010429

Actually, I rather reverted the change in SVN in order to be able to release MM 3.0, this can be finished later. Decreasing priority, there are other things to do.

jiri

2008-08-23 11:09

administrator   ~0014468

Ludek, try to finish the work Pavel started some time ago. The basics should be in SVN history.