Using AppleScript with Toast to burn MP3 disc

I'm trying to get Toast to add all the subfolders of a chosen folder to a new MP3 Disc. The attached script works fine except it adds the source folder, then puts all the subfolders inside it.
IE Disc layout becomes
Source Folder
----> subfolder 1
----> subfolder 2
How do I add just the subfolders of folderSelected?
set folderSelected to choose folder "Select a folder"
tell application "Finder"
set folder_name to name of folderSelected
end tell
tell application "Toast Titanium"
activate
set myDisc to make MP3 disc
set name of myDisc to folder_name
add to myDisc items folderSelected
end tell

Sorted it with a small code change:
set folderSelected to choose folder "Select a folder"
tell application "Finder"
set folder_name to name of folderSelected
set sourceList to every folder of folderSelected
set NoOfFolders to number of items in sourceList
end tell
tell application "Toast Titanium"
activate
set myDisc to make MP3 disc
set name of myDisc to folder_name
repeat with j from 1 to NoOfFolders
add to myDisc items (item j of sourceList as alias)
end repeat
end tell

Similar Messages

  • I want to use applescript with keynote

    I recently purchased Keynote specifically because there is an applescript that purports to run a Keynote presentation and use text to speech to provide narration from the notes on each slide.  I found the script and some supporting materials on http://www.macosxautomation.com/applescript/selfpreso/index.html.  However, this was produced a few years ago and a few versions of applescript and Keynote ago.  So, I need to accomplish the same feat with the current versions of these products.
    But I'm having a great deal of difficulty finding references that tell me much about using applescript with Keynote.
    Can anyone help me out with this?

    If you create an account for him you can setup Parental Controls.
    iTunes: Using Parental Controls
    Create a new Apple ID here.
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/21/wo/mz0CVVrDn8QtH1s 3uYclhM/10.0.31.145.6.3

  • I reinstalled I-Tunes several weeks ago.  Since then I can no longer burn MP3 Discs with Title and Artist Info.  Sometimes it only burns every 3rd song.  No Audio CD it seems to function OK.  The version has the "cloud" but I don't know if that matters or

    I reinstalled I-Tunes several weeks ago.  I can no longer burn MP3 Disk with Song/Artist info onto disc.  It comes up as No Artist/No Title on car CD unit.  Old MP3 Disk previously recorded still show all info.  Sometimes only every 3rd song is on the MP3 CD.  On Audio Disc there is no change and all info still shows up.  The new I-Tunes version has the "cloud" on it if that could make a difference.  In the select Burn CD mode I can select testing and add song info for Audio Disk but it shows shadowed out for MP3/Data.  I added and removed ID tagging from my list to see if that made a difference but it didn't.
    Any Thoughts?
    Jim

    This may help.  Audio files are actaully in the DATA folder.  These can be editted with Soundbooth then they must be imported intot the specific slide in the Powerpoint presentation.  Publish the presentation (as you'll read below) and *should* work This reply came from robva65 [email protected]
    Let's try this: *Publish* the PPT deck you have.  What you'll end up with is a set of files and folders, but I want you to look for the *data folder* that's created as a result of the publishing process. (Unless you specify where you're publishing to, Presenter will publish to a directory called "My Adobe Presentations" by default, so you may have to look there on your harddrive)  Inside the data folder will be a list of mp3 files, which, if everything goes smoothly, should make it much, much easier to see which audio is used by a specific slide.
    Here's what I mean: for example, after publishing, I have a data folder and inside I found the following file: a24x9x3.mp3  As I double click the mp3 file (which causes it to play using Windows Media on my laptop), I can hear that it corresponds to my slide 9 in my PPT deck.  And there's corresponding mp3 files for each and every slide I have in my deck.  I'm clicking another file (wouldn't it be nice to see what I'm doing???) a24x20x3.mp3, and that file corresponds to my slide 20 content in PowerPoint.
    So again, give publishing in PowerPoint a shot and see if that makes it any easier.  Well...not nearly as easy as recording in Audition/Soundbooth/Audacity, but it's close enough to hopefully dig you out of that hole you're in now.
    Hope this helps ~rich

  • Burn MP3 disc with just tracks and no folders

    You Guys Rock!!!
    I would like to know how to burn an MP3 disc with just tracks and no folders. Right now, all songs show up as foler 1 song 1,2,3 --- then it will go folder 2 track 1,2,3,4 etc. I want to get it to simply read track 1,2,3,4,5,6,7 etc. all the way through the disc.
    I typically get 80 songs on a standard CD-R disc. There may be 30 folders all with 2 or 3 songs within them. It is very confusing to scan through to the track I want to hear next.
    Any help will be greatly appreciated!!!
    J
    Dell Dimension 3000   Windows XP  

    Select the playlist then click on the Name cloumn & burn the CD.
    If you sort by Artist it will put them into Artist/Album folders.
    If you sort by Album, it will put them into Album folders.
    get iTunes to burn with no sub-folders (ie, CD/Rock or CD/Pop and not CD/Rock/The Eagles/Take It Easy.mp3)?
    Never seen it burn into Genre folders./Album folders...

  • Receiving "internal error" when trying to burn mp3 disc from playlist

    I'm trying to burn an mp3 disc from a playlist that I've created. Unfortunately, I keep getting an error. I'm currently running iTunes 11.0.2 on my iMac which is currently running 10.8.3.  I've done this many times before, and this is the first that I've had this problem. Here's the error I keep getting:
    The attempt to burn a disc failed. An internal error occured.
    If you want to retry the current failed burn, click on Retry. If you want to go to the next disc burn, click on Next. Otherwise click on Cancel.
    Here's how it goes down:
    I've created a very long playlist which will require the use of multiple discs.
    I right-click on the playlist and select to burn the playlist to disc.
    I then get the usual burn settings pop-up menu where I select the "MP3 CD" format with a preferred speed of "Maximum Possible"
    Note: Since experiencing this error, I have tried varried speeds ranging from 8x to 24x; I still get the error.
    Note Also: I have tried selecting "Audio CD" instead, and the playlist will burn and the error does not appear. This is not an option I want to go with, however, because of the length of the playlist — it would take, like, 25 discs...
    For a moment iTunes will read the disc, then ask permission for the playlist to be split across multiple discs. I say "ok".
    At this point, iTunes will say that it is initiallizing for about a split second then immediately say it's finalizing and spit out the disc. This is when the error pops up.If I select to "Retry", it doesn't retry to burn; it just saves a .txt file to my desktop that is  a copy of the error message. There's no error code/number or anything, though - just the exact same message. "Cancel" and "Next" seem to behave correctly, though.
    I have tried repairing disk permissions and restarting my computer. I've also tried using different brands of CDs: Memorex CD-R and Innovera CD-R. The error persists.
    Any help on this issue would be greatly appreciated. Thanks in advance!

    Some people (for reasons I don't know) have problems with Dynamic Link
    What happens if you export MPEG2-DVD from Premiere Pro... import the 2 files (audio and video) into Encore... and do ALL of your authoring work in Encore?

  • Burn MP3 disc from IPOD software?

    I have amassed my library of MP3 files into the Itunes library folder.
    Then I created a playlist and tried to use the "Burn disc" option..... assuming that since these were MP3 files, it would burn an MP3 disc.
    IT WON'T, it burns a standard WAV audio CD with the miniscule capacity compared to MP3.
    How can I get the ITunes software to burn the playlist of songs to a CD in MP3 format?
    Can I still use the song sequence feature of the playlist allowing me to move song positions in making an MP3 disc? (assuming it's possible to make an MP3 disc)
    I have scoured the Apple site for support articles and found absolutely nothing on IPOD burning of a CD disc.

    Thanks. That is the control I couldn't find, I had to switch the burn mode to MP3 to be able to burn songs in MP3 format. Once I got it switched, it did burn an MP3 CD from the playlist.
    Might be more usable if that select option (for format) came up as a selector box when one hits the "burn" icon to burn the CD.
    There is so much stuff buried under layers of menus that it is very hard for the newbie to find things.
    I did a search on the IPOD support site for "burn CD" and got absolutely nothing.
    I'm thinking it shouldn't be this difficult to do simple things.
    Thanks for telling me the location of the control.

  • Can't play PC burned MP3 discs w/out adding to library???

    This is really annoying me...
    When I insert an audio cd, an mp3 cd burned with iTunes, or even music files burned as a data cd with iTunes, the disc shows up in my source list, and I can play it without having the songs added to my library.
    When I'm done listening, I eject the CD, and it's as if it was never there.
    My roommate has all these mp3 discs that he burned on his pc (I think as data discs) that do not show up on the source list.
    I usually drag the disc icon to a new playlist in order to listen to it.
    I turned off "copy files to iTunes music folder", because I don't want his files on my hard-drive.
    But the file names still get added to my library and when I'm done listening I have to go in and delete them all - Major pain in the butt.
    Is there a way around this?
    Even if I have to use a different app to listen to his discs - that's fine.
    I just want to be able to pop in his discs, listen to them, and then pop 'em out when I'm done, without them leaving any 'residue' on my Mac.
    Thanks in advance,
    Dennis

    Just downloaded & tested Audion.
    Perfect!
    Does exactly what I want it to do, nice and simple.
    Thanks!
    p.s. - wish I could change your post from "helpful" to "solved" but apparently I can't - sorry about that.

  • Burning MP3 disc rearranged the songs

    Greetings,
    OK, I took 4 albums by the same group and made a playlist of the songs I wanted and jumbled them so they were no longer in their original order and all one album was together. I put them in the order I wanted. I burned an MP3 disc and on the burned disc all the songs were put back into their original order and in there original albums which were in alphabetical order. I don't want the songs in that order. I want them in the order I rearranged them in.
    Why is it doing this? It didn't when I did this with 4 other albums by another artist months ago. It made discs with the songs jumbled up as I has listed them in the playlist. But even this old playlist from months ago, which burned just as I arranged it, now puts the songs back in their original order and the albums in alphabetical order.
    How do I make it burn a MP3 album in the jumbled order of the playlist?

    Here are the instructions from the page you liked to:
    How to burn by playlist order
    Create your playlist.
    Click "Song" to sort the playlist by song.
    Make sure the songs are in the order you want to hear them on the CD.
    Click Burn CD.
    Insert a blank CD and burn the disc.
    I have yet to find "Song" to click on. The word is nowhere to be found. It'd be nice if they'd tell us where "song" is so I can click on it.
    I've also noticed the program sometimes will not "read" that I've inserted a blank disc.
    None of this was happening last week. Is there a way to go back to iTunes before the last (lousy) upgrade?

  • I Tunes wouldn't burn MP3 disc-error 4500

    i Tunes wouldn't burn an MP3 disc- mentioned error 4500-anyone know what this relates to?

    Could you post your diagnostics for us please?
    In iTunes, go "Help > Run Diagnostics". Uncheck the boxes other than DVD/CD tests, as per the following screenshot:
    ... and click "Next".
    When you get through to the final screen:
    ... click the "Copy to Clipboard" button and paste the diagnostics into a reply here.

  • Burning MP3 disc in "right order"

    Hello everyone. I've been trying to burn an MP3 disc. Burning all the tracks onto a disc has been successful but for some reason, I have not been able to get it in the right as it reflects on the playlist. Can anybody help me?

    Here are the instructions from the page you liked to:
    How to burn by playlist order
    Create your playlist.
    Click "Song" to sort the playlist by song.
    Make sure the songs are in the order you want to hear them on the CD.
    Click Burn CD.
    Insert a blank CD and burn the disc.
    I have yet to find "Song" to click on. The word is nowhere to be found. It'd be nice if they'd tell us where "song" is so I can click on it.
    I've also noticed the program sometimes will not "read" that I've inserted a blank disc.
    None of this was happening last week. Is there a way to go back to iTunes before the last (lousy) upgrade?

  • Who Uses Applescript with Aperture and Why?

    From time to time, I come see Applescript mentioned by Aperture Users. The Apple Support website devotes a few paragraphs.
    For an amateur with lots of time. how would Applescript make my experience with Aperture any better? It automates what?

    http://www.apple.com/aperture/resources/pdf/Aperture_3_AppleScript_Reference.pdf
    http://apertureexpert.squarespace.com/forum-applescript/
    http://www.macosxautomation.com/applescript/aperture/publish/index.html
    http://www.macworld.com/article/2033806/import-like-a-pro-in-aperture.html
    There's also an application that will give you lots of statistics on your Aperture library (lenses used, etc):
    http://www.apertureexpert.com/inspector
    I'm pretty sure it uses AppleScript to get the data.

  • More questions on using AppleScript with MSoft Word

    Thank you HD for your detailed reply in the other thread on closing docs in Word using AppleScript.
    Here is another qn for all:
    How does the "execute find" command work?
    The dictionary for Word lists the following:
    execute find find
    [find text text] : The text to be searched for. Use an empty string to search for formatting only.
    [match case boolean] : Set to true to specify that the find text be case sensitive.
    [match whole word boolean] : Set to true to have the find operation locate only entire words, not text that's part of a larger word.
    [match wildcards boolean] : Set to true if the text to find contains wildcards.
    [match sounds like boolean] : Set to true to have the find operation locate words that sound similar to the find text.
    [match all word forms boolean] : Set to true to have the find operation locate all forms of the find text for example, sit locates sitting and sat.
    [match forward boolean] : Set to true to search forward toward the end of the document.
    [wrap find find stop/find continue/find ask] : Controls what happens if the search begins at a point other than the beginning of the document and the end of the document is reached or vice versa if forward is set to false.
    [find format boolean] : Set to true to have the find operation locate formatting in addition to or instead of the find text.
    [replace with text] : The replacement text. To delete the text specified by the Find argument, use an empty string. You specify special characters and advanced search criteria just as you do for the find text argument.
    [replace replace none/replace one/replace all] : Specifies how many replacements are to be made: one, all, or none.
    → text range/insertion point
    According to my AppleScript manual, those in brackets are optional parameters. I assume the second find after "execute find" refers to the "find" object, and that this is a compulsory parameter.
    I face the following problems:
    (1)
    If I try to set the text I want to find in the "find" object, I get an error. So this doesn't work:
    tell application "Microsoft Word"
              set content of find to "book"
    end tell
    I get the following error:
    error "Can’t set «class 1650» of «class w124» to \"book\"." number -10006 from «class 1650» of «class w124» to «class book»
    (2)
    If I ignore the "find" object, and use the first optional parameter of "execute find" which is "find text" to set my text to find, I also have an error:
    tell application "Microsoft Word"
              tell document 1
      execute find find text "book"
      display dialog result
              end tell
    end tell
    Error message:
    error "Microsoft Word got an error: document 1 doesn’t understand the execute find message." number -1708 from document 1
    (3)
    So the document is the wrong target for the "execute find" command, fine. But directing the command to the application won't work:
    tell application "Microsoft Word"
      execute find find text "book"
      display dialog result 
    end tell
    Error message:
    error "Microsoft Word got an error: Can’t continue execute find." number -1708
    Regards,
    junxiang99

    I know very little about AppleScripting MS Word beyond the fact that it is powerful but unforgiving. I did a Google on Microsoft Word Applescript Execute Find and found quite a few references to the correct syntax.
    This is one of them.
    Hope it helps.

  • ITunes no longer burning MP3 discs?

    I am running iTunes 6.0.2 on my iBook which has, until recently, worked well. I don't know at what (upgrade) point things changed, but in the past when I created a long playlist and then selected 'burn' I would be told that the list is too long for a regular audio CD and then asked if I wanted to burn an MP3 CD. This no longer happens. Also, blank CDs no longer show up in the finder or on the desktop (so I can no longer put other files onto a blank disc); however, if I have a blank disc in the drive, I can burn a normal-length audio CD.
    Please help.
    R.

    Thanks. Yes, the box you mention in Finder prefs it ticked. The problem is with blank discs, they do not show up anywhere on my computer when they are in the drive; even though iTunes 'sees' them enough to be able to burn them. However, I like to burn other data to discs too, but can no longer do it since the disc does not appear on the desktop or in the Finder.
    Thanks again,
    R.

  • Burning MP3 Discs

    I am using AAC as the preferred format for ripping my CD collection in to iTunes. I'd like to take a couple of playlists and burn them to CD as MP3 format. Is there a way I can easily tell iTunes to burn an MP3 version of a playlist? My audio equipment that I want to play the CD in will recognize MP3 and not AAC, so I need to do this conversion but I can't figure an easy way to do it.
    TIA.

    Make a playlist of the songs you want on your MP3 CD. Select all the songs that playlist and convert the AAC songs to MP3. Do that by going to iTunes Preferences -> Import Settings and selecting the MP3 Encoder. The import settings also controls the "Create XXX Version" in the "Advanced" Menu. So an import setting of AAC Encoder gives you a "Create AAC Version" while an import setting of MP3 Encoder givez you a "Create MP3 Version".
    iTunes will create another version of the songs in your playlist as MP3s. Sort your music library by "date added" and all your new MP3s will be at the top. Use them to make another playlist, arrange them in the order you want, and burn that to an MP3 CD (by selecting MP3 CD from the burn options).
    Once you are finished, you can delete the MP3s from your music library. Don't forget to reset your import setting to AAC (or whatever you prefer).
    That's the only way to burn an MP3 CD as iTunes must have the songs in MP3 format first.

  • How to use AppleScript with AccountEdge for printing?

    Hi all,
    Can AppleScript be used to print an AccountEdge invoice to a folder, quit this invoice, then increment the number of invoice to be opened by +1 and repeat the procedure with this invoice too? I am new to AppleScript and not familiar with its limitations.
    The version I'm using is AccountEdge Plus NE 2010. I also found this link to sample scriptswww.accountedge.com/updates/ but cannot unfortunately access it as I'm outside the US.
    I would be very grateful for your help. Thank you very much!

    When you run a script like that from Applescript the environment it runs in is not the same as when you run the command from the terminal. Specifically where the file is being written is not where you think.
    Try giving a full path to the output file say -0 ~/quotes11272013.txt to force the file into your home folder.
    Post back if you still have problems

Maybe you are looking for