Jump to content

Need to automate changing of File Titles


Recommended Posts

Posted

Re: Windows XP SP2/ Windows Explorer

 

I would like to know how I can automate the changing of some mp3 file titles.

 

Here are my steps I am doing manually via Windows Explorer:

-I right-click an .mp3 file and chose Properties

-Copy the text from the text box in the 'General' tab (CTRL-C)

-Paste the text in the 'Title' field on the 'Summary' tab. (CTRL-V)

-Click 'Apply' and 'ok'.

(...on to the next file....and repeat the sequence)

 

Is there a way to do this via a VBScript file or simple DOS batch file?

 

If someone has a code sample, I would appreciate it.

 

Thanks.

Guest Pegasus \(MVP\)
Posted

Re: Need to automate changing of File Titles

 

 

"RLN" <RLN@discussions.microsoft.com> wrote in message

news:A4DE9CB7-2788-4A1C-A7BE-82DD679339CF@microsoft.com...

> Re: Windows XP SP2/ Windows Explorer

>

> I would like to know how I can automate the changing of some mp3 file

> titles.

>

> Here are my steps I am doing manually via Windows Explorer:

> -I right-click an .mp3 file and chose Properties

> -Copy the text from the text box in the 'General' tab (CTRL-C)

> -Paste the text in the 'Title' field on the 'Summary' tab. (CTRL-V)

> -Click 'Apply' and 'ok'.

> (...on to the next file....and repeat the sequence)

>

> Is there a way to do this via a VBScript file or simple DOS batch file?

>

> If someone has a code sample, I would appreciate it.

>

> Thanks.

 

You could use the "Sendkeys" method to perform the above actions

automatically. Unfortunately this is a very fragile method. It can easily

get off the rails because of some longer than expected delay, because

of some unrelated window popping up (e.g. a virus scanner update)

or because of an unforeseen condition. You would be better off

doing it manually.

Posted

Re: Need to automate changing of File Titles

 

One more question....

 

Just as you can use the Macro recorder in Word, Excel, etc.

Is there a 3rd party tool similar to the macro recorder in MS Office that

lets you record keystrokes, & Mouse clicks for a given folder, then automate

them for the rest of the files in the folder?

 

RLN

 

 

"Pegasus (MVP)" wrote:

>

> "RLN" <RLN@discussions.microsoft.com> wrote in message

> news:A4DE9CB7-2788-4A1C-A7BE-82DD679339CF@microsoft.com...

> > Re: Windows XP SP2/ Windows Explorer

> >

> > I would like to know how I can automate the changing of some mp3 file

> > titles.

> >

> > Here are my steps I am doing manually via Windows Explorer:

> > -I right-click an .mp3 file and chose Properties

> > -Copy the text from the text box in the 'General' tab (CTRL-C)

> > -Paste the text in the 'Title' field on the 'Summary' tab. (CTRL-V)

> > -Click 'Apply' and 'ok'.

> > (...on to the next file....and repeat the sequence)

> >

> > Is there a way to do this via a VBScript file or simple DOS batch file?

> >

> > If someone has a code sample, I would appreciate it.

> >

> > Thanks.

>

> You could use the "Sendkeys" method to perform the above actions

> automatically. Unfortunately this is a very fragile method. It can easily

> get off the rails because of some longer than expected delay, because

> of some unrelated window popping up (e.g. a virus scanner update)

> or because of an unforeseen condition. You would be better off

> doing it manually.

>

>

>

Guest Pegasus \(MVP\)
Posted

Re: Need to automate changing of File Titles

 

AutoIt (http://www.autoitscript.com/autoit3/downloads.shtml)

 

 

"RLN" <RLN@discussions.microsoft.com> wrote in message

news:BFF6C38D-A20B-4CC9-B98C-CB064C8D9BF7@microsoft.com...

> One more question....

>

> Just as you can use the Macro recorder in Word, Excel, etc.

> Is there a 3rd party tool similar to the macro recorder in MS Office that

> lets you record keystrokes, & Mouse clicks for a given folder, then

> automate

> them for the rest of the files in the folder?

>

> RLN

>

>

> "Pegasus (MVP)" wrote:

>

>>

>> "RLN" <RLN@discussions.microsoft.com> wrote in message

>> news:A4DE9CB7-2788-4A1C-A7BE-82DD679339CF@microsoft.com...

>> > Re: Windows XP SP2/ Windows Explorer

>> >

>> > I would like to know how I can automate the changing of some mp3 file

>> > titles.

>> >

>> > Here are my steps I am doing manually via Windows Explorer:

>> > -I right-click an .mp3 file and chose Properties

>> > -Copy the text from the text box in the 'General' tab (CTRL-C)

>> > -Paste the text in the 'Title' field on the 'Summary' tab. (CTRL-V)

>> > -Click 'Apply' and 'ok'.

>> > (...on to the next file....and repeat the sequence)

>> >

>> > Is there a way to do this via a VBScript file or simple DOS batch file?

>> >

>> > If someone has a code sample, I would appreciate it.

>> >

>> > Thanks.

>>

>> You could use the "Sendkeys" method to perform the above actions

>> automatically. Unfortunately this is a very fragile method. It can easily

>> get off the rails because of some longer than expected delay, because

>> of some unrelated window popping up (e.g. a virus scanner update)

>> or because of an unforeseen condition. You would be better off

>> doing it manually.

>>

>>

>>

Posted

Re: Need to automate changing of File Titles

 

=?Utf-8?B?UkxO?= <RLN@discussions.microsoft.com> wrote in

news:A4DE9CB7-2788-4A1C-A7BE-82DD679339CF@microsoft.com:

> Re: Windows XP SP2/ Windows Explorer

>

> I would like to know how I can automate the changing of some mp3 file

> titles.

>

> Here are my steps I am doing manually via Windows Explorer:

> -I right-click an .mp3 file and chose Properties

> -Copy the text from the text box in the 'General' tab (CTRL-C)

> -Paste the text in the 'Title' field on the 'Summary' tab. (CTRL-V)

> -Click 'Apply' and 'ok'.

> (...on to the next file....and repeat the sequence)

>

> Is there a way to do this via a VBScript file or simple DOS batch

> file?

>

> If someone has a code sample, I would appreciate it.

>

> Thanks.

>

>

 

When you change the title this way, you are changing the ID3 tag inside

of the file. There are quite a few programs available to do this job for

you - search for "ID3 tag editor" or something like that.

 

I use a program from http://ostermiller.org/mp3tagger that works well for

generating the tag info from the filename. It sets up a context menu

item that lets you do the tagging on all files in a folder, or just to

selected files.

 

I name my files in the form: Artist - Album - Track# - Songtitle.mp3

or single songs in the form: Artist - Songtitle,mp3

(no dashes except between these items)

Then I use mp3tagger to convert the name to a tag,

using the input command: \%1 - %3 - %7 - %2%3.

to read the Artist,Album,Track#,Songtitle separated by dashes and spaces

from the filename (the %2%3 at the end tells it to read the second as

songtitle instead of album name if there are not 4 items available - see

the mp3tagger help for more info)

 

To rename the files in the first place, I use the Bulk Rename Utility

from http://www.bulkrenameutility.co.uk (very useful for renaming lots

of any type of files).

 

If the files have an unwanted ID3 tag in them already, I use a program

from http://www.marre.org/id3remover to remove the existing tags before

using mp3tagger to put my own tags in.

Posted

Re: Need to automate changing of File Titles

 

=?Utf-8?B?UkxO?= <RLN@discussions.microsoft.com> wrote in

news:FA9506D2-2717-43D4-9737-4F1937D3E200@microsoft.com:

>>> http://ostermiller.org/mp3tagger<<

> In this application, where is the button to actually execute the

> renaming? Is that in the purchased version?

>

>

>

 

The shortcut that it places in your start menu is just to set up the

options, not do the actual tagging/renaming.

 

To actually do the tagging, select a folder, right-click, and then select

"TagMP3s" to tag all of the MP3 files in the folder, or select some

individual MP3 file(s), right click, and then select "Tag".

 

The above is assuming that you set the options to create an ID3 tag based

on the filename (what I do). You can alternately use it to rename files

based on the information in the ID3 tag.

 

I don't think that there is a "purchased version".

×
×
  • Create New...