Roxio Community: Applescript, Hybrid Discs, Macvolume Selection - Roxio Community

Jump to content

Roxio Community
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Applescript, Hybrid Discs, Macvolume Selection Trying to debug a Toast Applescript

#1 User is offline   tremolophoto 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 14-January 06

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.104/search?q=cache:f5R1h...brid+disc&hl=en

Any thoughts?

Thanks in advance!
Randy
0

#2 User is offline   tremolophoto 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 14-January 06

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
0

#3 User is offline   hybrid 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 17-January 07

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users