Clear Field 1.3 - Updated 26/07/2014

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Clear Field 1.3 - Updated 26/07/2014

Re: Clear Field 1.3 - Updated 26/07/2014

by Erwin Hanzl » Wed Jul 08, 2020 11:06 pm

So that "SDB.AllVisibleSongList" does not trigger a disaster, I have changed the script for myself.
I am therefore responsible if I mark the entire collection.

Code: Select all

Sub ClearField
  'get selected tracks
  Dim list : Set list = SDB.SelectedSongList 
  If list.count = 0 Then 
    'Set list = SDB.AllVisibleSongList  'deactivate by Erwin Hanzl 09.07.2020
  'End If 				'deactivate by Erwin Hanzl 09.07.2020
  'If list.count = 0 Then		'deactivate by Erwin Hanzl 09.07.2020
    Call SDB.MessageBox("ClearField: There are no selected tracks.",mtError,Array(mbOk))
    Exit Sub
  End If  

Deleting "Track Volume" Field

by THRobinson » Fri May 08, 2020 1:53 pm

Been a while since I cleaned up my files... sat down today and got them all sorted, but noticed I have a small handful (few hundred) tracks with numbers in the TRACK VOLUME field.

I can delete the number, one-by-one... but will take too long.

I downloaded a script, CLEAR FIELD 1.3, but I don't see TRACK VOLUME listed.

Is it listed as something else? or is there another option for mass deleting the contents of this field?

EDIT - OK... so looks like "TRACK VOLUME" column is (in the script) Levelling (with a capital "L")... correct?

Re: Clear Field 1.3 - Updated 26/07/2014

by Lowlander » Mon Aug 13, 2018 5:15 pm

Clear Field Script

by Ocky » Mon Aug 13, 2018 5:05 pm

Is the Clear Field script available anywhere? Anything similar? Not on Trixmodo fan site any more. Thanks

Re: Clear Field 1.3 - Updated 26/07/2014

by jrodriguez6 » Sun Jul 03, 2016 7:57 am

Trixmoto
Your Program works great on other columns but When I used it on "Date" it took a "year" and turned it into a Date "12/29/1899".
I'm trying to clear a "Date" column of 500 Dates.

I'm really new to this but I have been going thru manually getting the "Original Year" of a Record, I have about 1,900. This site is Great for "Original Years" http://www.45cat.com/

I want to sort them in Windows 10 but you can't see the "Original Year" field so I copy that "Original Date" Field to the "Date" Field and I can Select music to put on Thumb drive to travel with.

Now you know the rest of the Story.

I'm not a Kid, But I trying to get things to work the best way I can.

Thanks

Re: Clear Field 1.3 - Updated 26/07/2014

by MMFrLife » Sat May 09, 2015 10:28 am

trixmoto wrote:That's where all scripts appear, unless they are reports (in which case it's File > Reports) or an autoplay script which adds it's own tree nodes or menu items.
I have several scripts, none of which are reports or autoplaylists, and only 2 show up there; this one and Extract Fields (which includes said info).

But that's not even the point. It's that "I" get where it is, as do others, but no one is sharp and thinks logically "all" the time.

I really just thought it would be a nice touch and "simple" to click edit > add a "few" words > and submit.
Oh well. Anyway, again, awesome script! And thanks for all your hard work!!! :)

Re: Clear Field 1.3 - Updated 26/07/2014

by trixmoto » Wed Apr 29, 2015 1:29 pm

That's where all scripts appear, unless they are reports (in which case it's File > Reports) or an autoplay script which adds it's own tree nodes or menu items.

Re: Clear Field 1.3 - Updated 26/07/2014

by MMFrLife » Mon Mar 16, 2015 7:42 pm

Can you put this in the op description:

Found under Tools > Scripts
[for any poor soul who might not be able to easily find it]

Unless it's there somewhere obvious and I'm just blind.
Awesome script, thanks!

Re: Clear Field 1.3 - Updated 26/07/2014

by trixmoto » Sat Jan 17, 2015 6:17 pm

I'm guessing that you're just trying "Album" and not "AlbumName"? You need to use the API to get the field properties.

Re: Clear Field 1.3 - Updated 26/07/2014

by baskinghobo » Sun Dec 28, 2014 1:51 am

Hello. Thank you for this very useful script. Sorry if this has been answered before but whenever i try to clear the album field it says "Invalid field name was specified". I Just want to leave it blank or call it Songs or something. How can i get rid of this error?

Re: Clear Field 1.3 - Updated 26/07/2014

by trixmoto » Sat Jul 26, 2014 4:30 pm

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

- Added dropdown list of fields available
- Fixed special case for Leveling and LevelingAlbum was case sensitive

Hopefully it's a little more intuitive now!

Re: Clear Field 1.2 - Updated 05/01/2010

by trixmoto » Sun Jul 20, 2014 4:42 pm

Thanks, I'm glad you've found the script useful. No, I absolutely do not mind you editing the script, have fun tweaking it :)

If you make any enhancements that you think would be useful for others, please post them, and I'll look at including them in the next version.

Re: Clear Field 1.2 - Updated 05/01/2010

by TheJigmeister » Sun Jul 20, 2014 11:25 am

I want to thank you for your script,
I just editted it a little bit for private use (i hope you don't mind)
so that i can clear mutliple fields at the same time when i run the script, instead of just keep on typing them in the message popup
Thanks again :D

Re: Clear Field 1.2 - Updated 05/01/2010

by Guest » Fri May 23, 2014 1:56 am

Honestly, why someone hasn't thought about this earlier is beyond me. I downloaded multiple full albums with track volumes set to very weird levels. I didn't want to have to learn scripting just to delete track volume. Most efficient method for me: sort by "Track Volume", mash "F2" with my left hand, and then quickly mash the "back", "enter", and "down arrow" with the other hand, repeat as many times as needed. I was able to go through almost 3000 track fairly quickly using this approach.

Warning: do not hit the "delete" key instead of the "backspace" key. You could accidentally delete tracks by using that approach! very frustrating. :oops:

This really should be an enhancement. Nobody has an easy way to do this.

Re: Clear Field 1.2 - Updated 05/01/2010

by trixmoto » Mon Jul 01, 2013 7:22 am

@Jacko123 - As already stated, I plan to add a dropdown in the next version.

@Jackie78 - That's how you used to clear out the field (setting it to -1) - are you saying this no longer works?

Top