Page 2 of 3

Posted: Sat May 24, 2008 5:25 pm
by RevolvingImages
Is there a way to execute this script only when syncing to a portable device? For instance, I when I sync my iPod, I want to copy AlbumArtist into the Artist tag (the iPod doesn't recognize the AlbumArtist tag), but I don't want to actually change my MM library or MP3 tags. Thanks!

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Sat Aug 23, 2008 10:47 am
by coolmalayalee
I want to copy the file name field to title field. However, there is no file name field in this script. Is there anything else I can do to achieve this?

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Sat Aug 23, 2008 3:46 pm
by nohitter151
coolmalayalee wrote:I want to copy the file name field to title field. However, there is no file name field in this script. Is there anything else I can do to achieve this?
http://www.mediamonkey.com/forum/viewto ... =2&t=28510

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Sat Nov 01, 2008 7:23 am
by nethog
I'm consistently getting an access error when using this script.

"Access violation at address 41F9E400. Write of address 41F9E400."

I do not get the error right away. It only occurs when I close MM and I have used the script at some point during that session. The title bar of the error window always shows whatever song happens to be current in Now Playing. If Now Playing is clear, the error still occurs and the title bar is empty. The error is always at the same memory address. After the error occurs, I then have to kill the left over process in Windows Task Manager.

I've uninstalled ALL scripts but this one (and the 2 utility scripts it relies on) and the error still occurs. Currently using MM 3.0.4.1185

Any ideas?

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Thu Mar 19, 2009 1:55 pm
by steviegt
Looks like an old issue. It's happening to me. I didn't see a fix or resolution. Is there one?

(Below is copied & pasted from a previous post)

I'm consistently getting an access error when using this script.

"Access violation at address 41F9E400. Write of address 41F9E400."

I do not get the error right away. It only occurs when I close MM and I have used the script at some point during that session. The title bar of the error window always shows whatever song happens to be current in Now Playing. If Now Playing is clear, the error still occurs and the title bar is empty. The error is always at the same memory address.
Any ideas?

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Fri Oct 23, 2009 12:10 am
by BMD85
I dont understand where or hoiw I am suposed to save the SwitchOrCopyFields.vbs file?

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Fri Oct 23, 2009 12:27 am
by BMD85
ok figured it out but how dio I change which fields it is going to swap or copy ect. I can only find it in the tools>scritts>swap title and artist (with no options)

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Fri Oct 23, 2009 9:33 am
by nohitter151
First post wrote:INSTALL:
' - Copy script to MediaMonkey's "Scripts" folder and add the following in the
' file Scripts\Scripts.ini (remove the ' in front)
'
'[SwitchOrCopyFields]
'FileName=SwitchOrCopyFields.vbs
'ProcName=SwitchOrCopyFields
'Order=6
'DisplayName=Switch Or Copy Fields
'Description=Switch Or Copy Fields
'Language=VBScript
'ScriptType=0

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Sat Dec 05, 2009 6:01 pm
by Emrik
sorry to be so stupid but i don't understand how to download the script "SwitchOrCopyFields.vbs" i can copy/paste the code but what should i do with it then ? i have already downloaded the 2 control & general script, that was the easy part for me, but now ?

thanks for your help and patience

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Sat Dec 05, 2009 6:04 pm
by nohitter151
Emrik wrote:sorry to be so stupid but i don't understand how to download the script "SwitchOrCopyFields.vbs" i can copy/paste the code but what should i do with it then ? i have already downloaded the 2 control & general script, that was the easy part for me, but now ?

thanks for your help and patience
Paste it into notepad and save it as "SwitchOrCopyFields.vbs" in the C:\Program Files\Mediamonkey\Scripts\ folder.

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Sat Dec 05, 2009 6:36 pm
by Emrik
thanks a lot nohitter151, now i've learnt something :-).

unfortunately, i don't see the script in the option ( i've closed & re opened MM3) , same for the folder RegExpReplace which i have also now in my script folder.

any actions i've missed ?

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Sat Dec 05, 2009 10:24 pm
by nohitter151
Emrik wrote:thanks a lot nohitter151, now i've learnt something :-).

unfortunately, i don't see the script in the option ( i've closed & re opened MM3) , same for the folder RegExpReplace which i have also now in my script folder.

any actions i've missed ?
There are some lines at the top of the vbs file that you made that you need to copy into the scripts.ini file in the MediaMonkey\Scripts\ folder.

Re: SwitchOrCopyFields: Switches or Copies song data fields

Posted: Sun Dec 06, 2009 4:57 pm
by Emrik
ok great thank you very much, it worked perfectly for me now. It was too complicated for my small brain...

just a small bug i've noticed, the script could stop if you auto-type the field name instead of selecting it in the drop list. for instance "comment" instead of "Comment" so the best is just to select from the drop list and not via auto-typing solution and it works like a charm !

Thanks again.

SwitchOrCopyFields

Posted: Sun Mar 13, 2011 7:20 pm
by phuggan
Hopefully someone can assist me with this utility.

I am trying to get the SwitchOrCopyFields script to work without luck. I followed the instructions peovided by Steegy 6/11/2005 but no luck. This is what I have done.

Copied Utility_General.vbs and Utility_Controls.vbs to my scripts folder. Version used was per post by "nohitter151" on 10/8/2006

Copied and pasted first part of SwitchOrCopyFields script into my scripts.imi file, removed ' before lines and saved file

Lastly I copied entire script into notepad and saved file into my Scripts folder as SwitchOrCopyFields.vbs (note I deleted the first part of the script that was cut and pasted into my Script.ini file as did not see it as necessary given it was commented out anyway.

End result is I am not seeing the new scripts show up in my MM listing. Have played around with cutting and paste to vbs scipt without any sucess. Have I missed a step here or done something wrong. Any guidance greatly appreciated.

Re: SwitchOrCopyFields

Posted: Tue Mar 15, 2011 12:35 am
by Eyal
phuggan wrote:End result is I am not seeing the new scripts show up in my MM listing.
I suspect missing info in Scripts.ini. Should add this code to the file:

Code: Select all

[SwitchOrCopyFields]
FileName=SwitchOrCopyFields.vbs
ProcName=SwitchOrCopyFields
Order=6
DisplayName=Switch Or Copy Fields
Description=Switch Or Copy Fields
Language=VBScript
ScriptType=0