Hi Esther. I could not do that vo+shift click, I have tried a lot of times. I tried to press vo+command+f5, I have also tried that before, but suddenly I could press vo+shift+space, and I was not thrown out of the program, and I could delete the content of the field and write something else.
Thank you. Cheers Annie. On Apr 21, 2013, at 6:56 PM, Esther <mori...@mac.com> wrote: > Hi Annie, > > I'm surprised that the field for changing values is not accessible in the > File Renamer applescript. I found that script, too. But are you sure that > you can't change that field? The way the dialog boxes work for Doug's > AppleScripts, is that there's usually a text box filled with a default value. > I just downloaded the script to check. Did you try clicking in the text box > so you could edit it? Remember, if you are in QuickNav mode, you may think > that you can't edit the text box. I did a VO-Shift-Space, and then I could > delete the default string: > [artist] - [name] > Remember that each of the arguments like "artist" and "name" is surrounded by > brackets. In order to use a valid field for the text box, you have to > examine one of the ePub files you want to rename and check which fields are > used. Select an ePub track, then do Command-I to "Get Info", and examine the > "Info" tab. My O'Reilly books use "name", "artist", and "album", where "name" > and "album", give the title of the book, and "artist" gives the author. My > iPhone user guides from iBooks only use "name" and "artist". Do not try to > type in a field like "[author]", because that's not a tag that iTunes uses. > If, for example, you wanted to use the author, you would delete references to > "[name]" and have the text argument only contain a string like: > [artist] > I don't know which field your ePub books use for the tag information on > title. If the title information is under the "comments" field, and you wanted > to replace the name with the contents of that field, you would type in: > [comments] > Hope this is clear. Any argument that you use in the text field has to be a > valid tag field that actually corresponds to a field that is used for you > ePub books. Maybe the "description" field is used for title information. You > can activate it in the "View" menu options by bringing up the window with > Command-J and checking the box for "description". None of my ePub books use > this field, and you won't find it on the "Info" tab, but you can set your > library to display this. > > HTH. The only thing I don't like about the new Gatekeeper protocols is that > you can no longer directly view any of the AppleScript codes. They're buried > under the Package contents of the script under Resources > Scripts > > main.scpt. This used to be a great way to learn about AppleScript coding. > This didn't seem like Doug's style of writing AppleScripts, and I found out > that this was a contributed AppleScript from someone else that he re-wrote. > > By the way, I thought that the "This Tag That Tag" AppleScript might also > rename your files if you allow iTunes to organize your library, since the > folder and file names then match the tags. > > Cheers, > > Esther > > On 21 Apr 2013, at 04:49, Annie Skov Nielsen wrote: > >> Hi Esther. >> >> I found in fact an app on dougscripts, where you can specify which fields >> should appear in the new title, it is called file renamer, unfortunately the >> field for changing the values is not accessible, but it automatically uses >> the author and the title. >> >> It is an interesting scripts site, that I can use several scripts from. I >> think I will need to make a donation. >> >> Cheers Annie. >> On Apr 21, 2013, at 5:42 AM, Esther <mori...@mac.com> wrote: >> >>> Hi Annie, >>> >>> If these ePub files are in your iTunes library, I think you can just use >>> some of the AppleScripts for iTunes at Doug Adams' web site to automate >>> changing the titles. The only thing I'm wondering is if the whether the >>> epub files use the same keywords. I think that the file name field is just >>> "name", which is the same as the "name" track for music tracks. And for >>> my ePub books, the author is entered into the "artist" field. Probably the >>> "This Tag That Tag" AppleScript could be used for this. From the >>> description, I think the way this AppleScript works is that you select your >>> tracks in iTunes, then you run the script, which you just locate by name >>> "This Tag That Tag" under the scripts menu. This menu shows up once you >>> copy the AppleScript to a "Library/iTunes/Scripts" folder under your user >>> account. If you have never used AppleScripts in iTunes before, you'll have >>> to create the "Scripts" folder in this location. Once you've selected this >>> AppleScript, a dialog menu should come up to let you choose what action you >>> want to take with your tags: copy, append, swap, or prepend. In this case >>> you'd select "copy". Then you'd select the metadata tag fields that you'd >>> want to use. So maybe in this case you'd want to copy the "album" tag to >>> the "name" tag, or the "artist" tag to the "name" tag. I'm making up >>> these examples, because I don't actually know how your ePub files are >>> tagged, or even which fields you are using. Just note that these changes >>> are not reversible, so if you want to be extra cautious, make a set of >>> copies of your tracks beforehand. And just choose one ePub book to try the >>> AppleScript out with before you run this with several files selected. >>> >>> It's also possible that there's a better AppleScript to use for the >>> purposes that you want under the "Managing Track Info" group of >>> AppleScripts at that site. I haven't used (or even downloaded) the >>> AppleScript in question, although I have previously used other AppleScripts >>> from this site before. >>> >>> I think you want to get the "This Tag That Tag" AppleScript from this URL >>> at the dougscripts.com site: >>> http://dougscripts.com/itunes/scripts/ss.php?sp=thistagthattag >>> >>> The AppleScript "This Tag That Tag v.3.2 can be found as a heading level 2. >>> Navigate with VO-Down arrow to read the description and then to read the >>> group of two download links for downloading the script and the read me pdf >>> file. There's also a heading level 3 description of "how to download & >>> install" that explains that the download file will be a .zip that opens as >>> a .dmg file. (Navigate with VO-Down arrow here, as well, to read the >>> description.) It also explains that you should put the script contents of >>> the of the .dmg file into your ~/Library/iTunes/Scripts folder, and that >>> you may have to create the Scripts folder if this is your first AppleScript >>> under iTunes. Just use standard Finder navigation (e.g. use >>> Command-Shift-G to "go to folder", and then type or paste in the path: >>> ~/LIbrary/iTunes/ >>> -- or tilde slash Library slash iTunes for the directory, then create the >>> Scripts folder, and navigate to it. You can copy and paste the AppleScript >>> to this location. You can also save the Read me file somewhere convenient. >>> >>> There may be other scripts you can use, but this seemed to be one suited to >>> your requirements. >>> >>> HTH. Cheers, >>> >>> Esther >>> >>> On 19 Apr 2013, at 05:32, Annie Skov Nielsen wrote: >>> >>>> Hi. >>>> >>>> I have some epub files which has some rather strange file names, can I >>>> change them based on the metadata of the files. >>>> >>>> It would be great if there is a way to convert multiple files to correct >>>> file names based on e.g. the title field or maybe also the author field >>>> of the metadata, does anyone know how I can do that. I have tried playing >>>> a little with ITunes, but I can not get ITunes to do what I want. >>>> >>>> Best regards Annie. > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to macvisionaries+unsubscr...@googlegroups.com. > To post to this group, send email to macvisionaries@googlegroups.com. > Visit this group at http://groups.google.com/group/macvisionaries?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to macvisionaries+unsubscr...@googlegroups.com. To post to this group, send email to macvisionaries@googlegroups.com. Visit this group at http://groups.google.com/group/macvisionaries?hl=en. For more options, visit https://groups.google.com/groups/opt_out.