Writing a VBScript

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

Moderators: jiri, drakinite, Addon Administrators

Shakadula5153
Posts: 133
Joined: Mon Nov 23, 2015 5:35 pm

Writing a VBScript

Post by Shakadula5153 »

I have not programmed in many many years and i want to write a script that will take the date field in the database and append it to the title track. I have written in visual basic, basic, dBase 2 3 4, on micro computers and cobol and alc on IBM mainframe computers. All in the 70's, 80's and 90's.

Good Times Bad Times becomes; Good Times Bad Times - 6904

Title+date

The script would run once against the dB on about 30,000 tracks.

Thoughts.
Lenovo Laptop:
LENOVO_MT_83DM_BU_idea_FM_Yoga 7 2-in-1 16AHP9
64 bit OS
Windows 11
2 TB SSD, 16 Gig RAM,

Software

* Primary Apps: MediaMonkey 5 GOLD
Lowlander
Posts: 58569
Joined: Sat Sep 06, 2003 5:53 pm

Re: Writing a VBScript

Post by Lowlander »

VBScript was used with MediaMonkey 4, as of MediaMonkey 5 JavaScript is used for Addons: viewtopic.php?t=81285
Peke
Posts: 18244
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Writing a VBScript

Post by Peke »

Shakadula5153 wrote: Sat Apr 12, 2025 12:36 pm I have not programmed in many many years and i want to write a script that will take the date field in the database and append it to the title track. I have written in visual basic, basic, dBase 2 3 4, on micro computers and cobol and alc on IBM mainframe computers. All in the 70's, 80's and 90's.

Good Times Bad Times becomes; Good Times Bad Times - 6904

Title+date

The script would run once against the dB on about 30,000 tracks.

Thoughts.
If you are experienced I would suggest that you look at "\Scripts\swapArtistTitle\" as it manipulate DB fields and then simply modify to take Date and append suffix to Title.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Shakadula5153
Posts: 133
Joined: Mon Nov 23, 2015 5:35 pm

Re: Writing a VBScript

Post by Shakadula5153 »

Thanks Peke. I will take a look.
Lenovo Laptop:
LENOVO_MT_83DM_BU_idea_FM_Yoga 7 2-in-1 16AHP9
64 bit OS
Windows 11
2 TB SSD, 16 Gig RAM,

Software

* Primary Apps: MediaMonkey 5 GOLD
Post Reply