Custom Report 3.2 - Updated 29/07/2014

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderatoren: Peke, Gurus

some1
Beiträge: 91
Registriert: Di Jul 03, 2007 3:10 am

Beitrag von some1 »

Dead helpful!
nynaevelan
Beiträge: 5559
Registriert: Mi Feb 07, 2007 11:07 pm

Beitrag von nynaevelan »

Hi All:

I hope this is not a silly formatting question, but what settings do I use to get the SongLength to export in the right format??

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
trixmoto
Beiträge: 10023
Registriert: Fr Aug 26, 2005 3:28 am

Beitrag von trixmoto »

That depends how you define "right format"! :lol:
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.
nynaevelan
Beiträge: 5559
Registriert: Mi Feb 07, 2007 11:07 pm

Beitrag von nynaevelan »

By right format I mean mm:ss, is this possible, now it extracts I am assuming in an integer format??

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
trixmoto
Beiträge: 10023
Registriert: Fr Aug 26, 2005 3:28 am

Beitrag von trixmoto »

You could try "SongLengthString" instead - this is formatted by MM so should be fairly sensible.
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.
nynaevelan
Beiträge: 5559
Registriert: Mi Feb 07, 2007 11:07 pm

Beitrag von nynaevelan »

Once again you have made my life easier. Thank you.

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
trixmoto
Beiträge: 10023
Registriert: Fr Aug 26, 2005 3:28 am

Beitrag von trixmoto »

New version (1.2) now available to download from my website. Changes include...

- Fixed manually entered path might not be valid
- Added option to support unicode characters
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.
LordHades
Beiträge: 53
Registriert: Sa Sep 29, 2007 4:45 am

Beitrag von LordHades »

Nevermind :) allready found your advanced report script :) works great
paulmt
Beiträge: 1168
Registriert: Di Jul 18, 2006 6:06 pm

Beitrag von paulmt »

I would like to have a "close" available top right of the report so that when viewing online return to the previous page or window can be done by clicking on "close" or "return" etc

Can this be done?
I use these reports on my website and currently open them in a new window, which requires closing the window to return to the previous page or window. I would like to open the report in the same window and have the close option as described.

I'm happy to do the work if you are able to point me in the general direction with a bit of guidence.

Thanks
trixmoto
Beiträge: 10023
Registriert: Fr Aug 26, 2005 3:28 am

Beitrag von trixmoto »

Can't you just use the back button on the browser? I can add a link which simulates the back button, but it seems a little redundant.
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.
paulmt
Beiträge: 1168
Registriert: Di Jul 18, 2006 6:06 pm

Beitrag von paulmt »

Well you can, I know that, but it's not what I want to do on this occasion.
All I want is a "close" top right of the report to shut down that window.

If you can provide code to add to the script that simulates the back button that would be great - thanks

BTW is this added to the script? I looked for what geberated the MediaMonkey link to get some clue and do this myself, but I couldn't see any link, so assumed this is generated elsewhere??

Thanks again
trixmoto
Beiträge: 10023
Registriert: Fr Aug 26, 2005 3:28 am

Beitrag von trixmoto »

I'm sorry, I've got myself confused. You want a "close" link to to actually close the window, or to go back a page?

What "MediaMonkey link" are you referring to?
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.
paulmt
Beiträge: 1168
Registriert: Di Jul 18, 2006 6:06 pm

Beitrag von paulmt »

trixmoto hat geschrieben:I'm sorry, I've got myself confused. You want a "close" link to to actually close the window, or to go back a page?

What "MediaMonkey link" are you referring to?
Sorry, I have got my wires crossed! I was confusing my thoughts between MM standard report and your custom reports. The MM report has a link built in to go to MM website.

Close the active window is what I want. In the form of a hyperlink text style close

Thanks
trixmoto
Beiträge: 10023
Registriert: Fr Aug 26, 2005 3:28 am

Beitrag von trixmoto »

You could replace line 305...

Code: Alles auswählen

Call f.WriteLine("</style></head><body><table cellpadding=4 cellspacing=0><tr align=left><th>")
...with...

Code: Alles auswählen

Call f.WriteLine("</style></head><body><a href='javascript:window.close'>Close</a><br><table cellpadding=4 cellspacing=0><tr align=left><th>")
(That's one line still!) I think this should do what you want. :)
Zuletzt geändert von trixmoto am Mi Okt 10, 2007 5:18 pm, insgesamt 1-mal geändert.
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.
paulmt
Beiträge: 1168
Registriert: Di Jul 18, 2006 6:06 pm

Beitrag von paulmt »

trixmoto hat geschrieben:You could replace line 305...
Thanks for looking at this and making the above suggestion...
Unfortunately it generates an error as follows...

Bild

Followed by
"error happened during script initilization: expected ')'

It seems obvious to me that the string is looking for another ")"
I have tried closing brackets in different places but am unable to clear the error, although I will keep working through it.

I know your juggling lots of new and improved scripts at present, so this is low priority. I am happy to wait until you or someone else may have an idea.

Thanks
Antworten