Jump to content
  • 0
Sign in to follow this  
Berkant

Scripting Hybrid Dvd Burn With Applescript

Question

Hello,

 

I'm trying to script a DVD burn, what i need is to burn an entire folder automatically.

I also need to make some items invisible and other items should only be visible on PC.

Right now i can only add all the files to the DVD, not hide or uncheck them.

Is there a way to do this?

This is the code:

 

set folderSelected to (":Volumes:xxxx:xxxx" as alias)
tell application "Finder" to set {folderName, sourceList} to {name of folderSelected, items of folderSelected}
tell application "Toast Titanium"

set myDisc to make new Data disc
set name of disc 1 to "Toast Test"

repeat with i in sourceList
if {(i as string) contains ".DS_"} then

else
add to myDisc items (i as alias)
end if
end repeat

activate

end tell

 

Thanks.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×