• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScripting Blank CDs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScripting Blank CDs


  • Subject: Re: AppleScripting Blank CDs
  • From: Graff <email@hidden>
  • Date: Fri, 21 May 2004 13:32:34 -0400

You want to create a blank CD? Run out of coasters for your drinks? :-)

I'm assuming you want to fill that CD with stuff, let's assume that stuff is in a folder on the Desktop named "stuff".

The easiest way that I know how to do this is to use the shell. hdiutil is a good shell tool for burning CDs. Here's how you would use it:
----
set theStuff to (path to desktop folder as string) & "Stuff:"
set posixStuff to quoted form of POSIX path of theStuff
try
do shell script "hdiutil makehybrid -o /tmp/stuff.iso " & posixStuff & " -default-volume-name 'Stuff'"
do shell script "hdiutil burn /tmp/stuff.iso"
do shell script "rm -rf /tmp/stuff.iso"
end try
----

- Ken

On May 21, 2004, at 11:40 AM, Jason Bourque wrote:

Hello,


How do I create and burn blank CDs. This is as far as I got. Any help
appreciated.

on blank CD appeared vCDinfo

tell application (path to frontmost application as text)
display dialog (vCDinfo as string)
end tell

End


Thanks,

Jason Bourque
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >AppleScripting Blank CDs (From: Jason Bourque <email@hidden>)

  • Prev by Date: Unsafe handlers revisited
  • Next by Date: Re: Graphic Converter - Set Resolution + RGB
  • Previous by thread: AppleScripting Blank CDs
  • Next by thread: ID CS book content
  • Index(es):
    • Date
    • Thread