Page 2 of 3

Posted: Sat Jan 27, 2007 5:24 pm
by m_bojangles
Tried using the Dynamic call to build the custom dictionary as shown by RedX. I get this error message:
Error #438 - Microsoft VBScripte runtime error
Object doesn't support this property or method

It then references the line number that has this code (line number varies but is between 30 and 40)

Code: Select all

  dictCustomEntries = SDB.Database.OpenSQL(sql)
Not sure what that means or how to fix it. Any help? Thanks.

Posted: Mon May 14, 2007 3:32 am
by Inspired
m_bojangles wrote:Tried using the Dynamic call to build the custom dictionary as shown by RedX. I get this error message:
Error #438 - Microsoft VBScripte runtime error
Object doesn't support this property or method

It then references the line number that has this code (line number varies but is between 30 and 40)

Code: Select all

  dictCustomEntries = SDB.Database.OpenSQL(sql)
Not sure what that means or how to fix it. Any help? Thanks.
First off ... a big hello to users at these MediaMonkey forums. My first post. My first day of using MediaMonkey. Loving it.

I also get this error. Does anyone know how to correct this?

Thanks,

Jonathan

Re: Auto\Scripts:Editing Custom Fields with Pre-Selection

Posted: Mon May 14, 2007 3:34 am
by Inspired
onkel_enno wrote:Here is a small script to edit the Custom Fields.
Create a File EditCustomX.vbs in the MM\Scripts\Auto Folder and paste the code from below!
It will create SubMenus in most Pop-Ups.

This example is for adding/removing the Language to the CustomField 2. (changeable in line 6)
When Changing the Constant OnlyOneSelection (line 7) to False, it is possible to Add more than One Language to one Song or, like in the Picture, more than one Keyword.

Customize it for your Needs!
Quick question.
How did you get it to display "keywords" and "language" in your menu and columns rather than "Custom 1" and so on?

Thanks,

Jonathan

Posted: Mon May 14, 2007 3:34 am
by onkel_enno
Are you sing MM2.x or MM3.x?
It doesn't work with MM3.

Posted: Mon May 14, 2007 3:38 am
by trixmoto
I've not tried this...
m_bojangles wrote:

Code: Select all

  dictCustomEntries = SDB.Database.OpenSQL(sql)
...but I can't see how it would work. The "OpenSQL" call returns an SDBDatabaseIterator object and "dictCustomEntries" has been defined as a Scripting.Dictionary. You'll probably need to accept the iterator into a temporary object and iterate through adding each one to the dictionary one at a time.

Posted: Mon May 14, 2007 3:38 am
by Inspired
onkel_enno wrote:Are you sing MM2.x or MM3.x?
It doesn't work with MM3.
Gosh that was a quick response!!
I am using 2.5.5

Cheers,
Jonathan

Posted: Mon May 14, 2007 3:57 am
by onkel_enno
@Jonathan
Please send me the complete File Code via PM, Thanks.

Re: Auto\Scripts:Editing Custom Fields with Pre-Selection

Posted: Mon May 14, 2007 4:48 am
by Mizery_Made
Inspired wrote:Quick question.
How did you get it to display "keywords" and "language" in your menu and columns rather than "Custom 1" and so on?

Thanks,

Jonathan
Tools --> Options --> Appearance --> Rename Custom Field Headings (requires restart)

Re: Auto\Scripts:Editing Custom Fields with Pre-Selection

Posted: Wed May 16, 2007 5:55 pm
by Inspired
Mizery_Made wrote:
Inspired wrote:Quick question.
How did you get it to display "keywords" and "language" in your menu and columns rather than "Custom 1" and so on?

Thanks,

Jonathan
Tools --> Options --> Appearance --> Rename Custom Field Headings (requires restart)
Thanks. That's great. Nice and easy...
J

Posted: Fri Jan 04, 2008 10:34 pm
by m_bojangles
onkel_enno,
I see the title of this thread indicates this should work in MM3, but then I see you mention something not working in MM3. When you said something would not work in MM3, were you just referring to the dynamic list creation?

I'm eager to get this going in MM3, but I want to be careful that I don't blow anything up.

Can you confirm the basic script without the dynamic change works in MM3? Thanks!

Posted: Sat Jan 12, 2008 4:34 pm
by justin_f
Is there a way to change where the Custom options are in the context menu? This is what i have currently

http://img2.freeimagehosting.net/image. ... ea526d.jpg

I'd like Version and Album Type to be at least next to each other, if not in different spots on the menu completely.

Thanks.

Posted: Sun Jan 13, 2008 6:27 pm
by m_bojangles
Are you using a script to put the Tools menu item in there? I don't have that. So there may be an ordering issue with the this script that updates Custom fields and the script you're using to put Tools in the context menu.

Posted: Sun Jan 13, 2008 8:08 pm
by justin_f
Yea, that's Steegy's external tools script (which if you haven't tried, is great).

http://www.mediamonkey.com/forum/viewto ... sc&start=0

I thought that might be an issue. I was just curious if anyone knew.

Posted: Sat Apr 26, 2008 10:15 pm
by Mizery_Made
It might be cool to see this updated and expanded for MM3. Any chance?

Posted: Sun Apr 27, 2008 11:51 pm
by onkel_enno
What do you meen? It works with MM3.