How should the VBS-JS Converter works ?

To discuss development of addons / skins / customization of MediaMonkey v5 / v2024

Moderatoren: jiri, drakinite, Addon Administrators

crap_inhuman
Beiträge: 947
Registriert: Sa Jan 26, 2013 6:00 am

How should the VBS-JS Converter works ?

Beitrag von crap_inhuman »

Could you please explain, how the Converter works? How can i try to convert a script?
Metal up your ass !
-----------------------------------------------
I added my first 2 videos on youtube. The language is german.

Discogs Autorisierung: https://www.youtube.com/watch?v=oryxKKtnEnc
Discogs Tagger Bedienung: https://www.youtube.com/watch?v=85Wk-5rd-W0
PetrCBR
Beiträge: 1783
Registriert: Di Mär 07, 2006 5:31 pm

Re: How should the VBS-JS Converter works ?

Beitrag von PetrCBR »

Simply install using extensions window and then click on new icon in toolbar.
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
jiri
Beiträge: 5432
Registriert: Di Aug 14, 2001 7:00 pm

Re: How should the VBS-JS Converter works ?

Beitrag von jiri »

I'd just add that it simply converts the original VBS code to the new JS, including many API conversions. The resulting JS can be used in MM5 as a native MM5 script, i.e. added to Scripts folder. Sometimes there're almost no more code changes necessary, sometimes much thorough manual changes are necessary (depending on the coding style and language features used). Based on the way the script was used in MM4, some addition to MM UI might be necessary, e.g. if not already done by MM4 VBS code, an addition to MM5 'actions' list or addition to menus or toolbar might be necessary. Feel free to discuss any issues you encounter...

Jiri
Maka
Beiträge: 59
Registriert: So Okt 19, 2008 11:12 am

Re: How should the VBS-JS Converter works ?

Beitrag von Maka »

PetrCBR hat geschrieben:Simply install using extensions window and then click on new icon in toolbar.
Hi
Tried this and it doesn't work.
When i click on the icon it does nothing.

Maka
PetrCBR
Beiträge: 1783
Registriert: Di Mär 07, 2006 5:31 pm

Re: How should the VBS-JS Converter works ?

Beitrag von PetrCBR »

You need to reinstall convert script.
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
jiri
Beiträge: 5432
Registriert: Di Aug 14, 2001 7:00 pm

Re: How should the VBS-JS Converter works ?

Beitrag von jiri »

To clarify, a new version of the script was uploaded in order to fix the issue, it should work fine now.

Thanks,
Jiri
popsmike
Beiträge: 174
Registriert: Do Okt 05, 2006 11:02 am

Re: How should the VBS-JS Converter works ?

Beitrag von popsmike »

jiri hat geschrieben:To clarify, a new version of the script was uploaded in order to fix the issue, it should work fine now.

Thanks,
Jiri
Hey Jiri, could you plase add a link to the new script as the only versions i can find are 1.1, unless this is correct but you haven't changed the version number.

Thanks
Mike
Windows 10 Pro x64 2TB USB3 External Hdd with Quad Core 3600Mhz CPU and 10GB Ram
MM 4.1.21.1871 Portable on External Hdd
TESTING MM 5.0.0.2113
Numerous Addons
User Since 2006 (Lifetime License) since 2012
PetrCBR
Beiträge: 1783
Registriert: Di Mär 07, 2006 5:31 pm

Re: How should the VBS-JS Converter works ?

Beitrag von PetrCBR »

How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
popsmike
Beiträge: 174
Registriert: Do Okt 05, 2006 11:02 am

Re: How should the VBS-JS Converter works ?

Beitrag von popsmike »

Thanks for the link but this is the one I was using but its locked so can't post there.
The link a couple of posts above the latest one from jiri is a link to version 1.1 and was wondering if this is still the latest update withoout the version number being changed. Post dated 30th Jan 2017.

thanks again
Mike
Windows 10 Pro x64 2TB USB3 External Hdd with Quad Core 3600Mhz CPU and 10GB Ram
MM 4.1.21.1871 Portable on External Hdd
TESTING MM 5.0.0.2113
Numerous Addons
User Since 2006 (Lifetime License) since 2012
jiri
Beiträge: 5432
Registriert: Di Aug 14, 2001 7:00 pm

Re: How should the VBS-JS Converter works ?

Beitrag von jiri »

Yes, it's the latest version. Sorry for the confusion, will include a better versioning scheme in the future.

Jiri
popsmike
Beiträge: 174
Registriert: Do Okt 05, 2006 11:02 am

Re: How should the VBS-JS Converter works ?

Beitrag von popsmike »

jiri hat geschrieben:Yes, it's the latest version. Sorry for the confusion, will include a better versioning scheme in the future.

Jiri
Thanks Jiri for the update.
Windows 10 Pro x64 2TB USB3 External Hdd with Quad Core 3600Mhz CPU and 10GB Ram
MM 4.1.21.1871 Portable on External Hdd
TESTING MM 5.0.0.2113
Numerous Addons
User Since 2006 (Lifetime License) since 2012
PhilDG
Beiträge: 146
Registriert: So Dez 30, 2007 6:14 am

Re: How should the VBS-JS Converter works ?

Beitrag von PhilDG »

After downloading the converter and attempting to add it, I'm getting this:

Invalid Product installation package. Missing extension id.

I'm using MMW 5.0.0.2218

I'm assuming there is something else I need to do?
PhilDG
Beiträge: 146
Registriert: So Dez 30, 2007 6:14 am

Re: How should the VBS-JS Converter works ?

Beitrag von PhilDG »

Hmmm...it works now and I'm not sure what changed. I ran MM5 as administrator but was convinced I'd tried that before
DaledeSilva
Beiträge: 906
Registriert: So Mai 28, 2006 4:22 am

Re: How should the VBS-JS Converter works ?

Beitrag von DaledeSilva »

It's been a long time since MM5 came out, but for anyone else that goes to use this script, the menu button the run the converter appear next to the search box for me.

It's not in any dropdown menus and can't be added to the standard top tool bar by editing layout - it doesn't appear to be an action that can be added. So just scour the interface for it.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
Antworten