Jump to content

Roxio Community

Applescript, Hybrid Discs, Macvolume Selection


  • Please log in to reply
2 replies to this topic

#1 tremolophoto

tremolophoto

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 14 January 2006 - 10:22 AM

I am trying to write an Applescript to create a hybrid disc. The script works fine for Mac Volume discs, but I run into trouble trying to specify the "macvolume" property of the hybrid disc.


The following works just fine:

set macSource to "Volumename:" as alias

tell application "Toast 6 Titanium"

make new Mac Volume disc
tell current disc

set macvolume to macSource

end tell

end tell



This creates a Mac Volume-type disc, then selects the volume (mounted disc image in my case) "Volumename" as the source. No problem at all.

Trying to do the same with a hybrid disc, however:

set macSource to "Volumename:" as alias

tell application "Toast 6 Titanium"

make new Mac Hybrid disc
tell current disc

set macvolume to macSource

end tell

end tell


   Results in an applescript error "Error: -43. a file couldn't be found." I've tried this every which way, using a aliases, POSIX paths, etc., but Toast always fails when trying to set the volume source. Some errors are about coercing the value into the right type.

   I think there was a message with the solution to this problem in the old forums, but the only cache of the message I can find (on google or archive.org) does not include the replies that may contain an answer! The post was here:

http://64.233.161.10...brid disc&hl=en

   Any thoughts?

Thanks in advance!
Randy

#2 tremolophoto

tremolophoto

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 16 January 2006 - 08:35 AM

View Posttremolophoto, on Jan 14 2006, 10:22 AM, said:

I am trying to write an Applescript to create a hybrid disc. The script works fine for Mac Volume discs, but I run into trouble trying to specify the "macvolume" property of the hybrid disc.

An update, though not a full resolution: I have been able to produce most of the desired features of my hybrid disk using Apple's very powerful command-line tool "hdiutil". I would have rather done everything in Toast, but it might not be worth the hassle. Heck, I might do the burning using command-line tools as well.

If I find a Toast solution, I'll post it here.

Randy

#3 hybrid

hybrid

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 17 January 2007 - 03:52 PM

i'm having this same problem. does anyone have a work around for this? i need to create a hybrid from an iso and a dmg file. if there's a way to do that with hdiutil i'd be willing to give that a try if toast can't do what needs to be done.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users