hi, im new to mac scripting, but i figure it would be very useful for ripping and burning many dvds at a time,
the process goes like this:
rip-mac the ripper
compress-dvd2onex (only necessary if VIDEO_TS folder is greater than 4.4 gb)
image-dvdImager
burn-toast
now i will star the process by putting in a disc in and closin the dvd player, and opening mac the ripper, and clicking go
now i want my script to follow that step by waiting for the rip to complete, taking the files it ripped, analyze them for size, then determine the next step to do, then follow through with the rest of the process until it is finished
some problems that i need assistance in are chosing a file in the finder that is the newest, because i can not search for name, i will just search for the newest file to use for the script process…and also figuring out when the ripping program is done to go onto the next step…the size issue seems like a simple if statement, so i think i can handle that, and opening the file with the other programs should be easy once i figure out how to open the file in the first place (you know the newest file)
the reason for the need of this program is i currently work at blockbuster on the side, and i use them for movies, i could possibly pull in about 75 a week, but my processing of the rip is slow cause i cant be at my computer all day…
The first thing you want to do is determine if Mac the Ripper has a dictionary of scriptable terms. Either drop it’s icon on the ScriptEditor icon or open Mac the Ripper’s dictionary from Script Editor window. Your abilities will be limited by the terms in the dictionary. If the application is not scriptable, I would post again asking what program might achieve your goal.
hey man, thanks for the replys, my settings on dvd2onex are very simple, the source is my _dvd folder on the desktop and the folder of the newest dvd rip. output is the dvd-rw, my copy settings are disk copy, the ratio is consant, and i select anything english in the languages menu which comes up on the right of the window
this is what i’ve got so far give it a go for me
make sure there is a dvd in the drive
set Title to RipTheDisc()
set location to "/Users/username/" & Title & "/VIDEO_TS"
on RipTheDisc()
tell application "MacTheRipper" to activate
tell application "System Events"
tell application process "MacTheRipper"
set frontmost to true
delay 8
tell window 1
set DiscTitle to name
click button "GO!"
repeat
try
tell sheet 1
click button "Close"
exit repeat
end tell
on error
delay 10
end try
end repeat
end tell
end tell
end tell
try
tell application "MacTheRipper" to quit
end try
return DiscTitle
end RipTheDisc
cool man, looks like itll work great, now here is the big question, can you finish the code to repeat the process with the other compressing, imaging and burning programs with the new file, which is the key point, using the newest file, that is what i can not do, if i could i could probably finish the code myself
the dvd2one bit will be easy im woking on it at the moment
ill finish the code i’m just needing to make some space on my ibook
PM me your email and i can get you to help me with coding it as im lacking a dvd burner on a mac
im stuck at this can any one help i wasted like a couple of hours playing with it
i cant even seem to click on coordinates
all i need done is the checkboxes in drawer 1 to be clicked but nothing seems to work
set username to "username"
set fullPath to "/Users/username/dvdfolder/VIDEO_TS/"--maybe easyer to set this to a dvd on /Volumes/dvdtitle/video_ts
tell application "DVD2oneX" to activate
tell application "System Events"
tell application process "DVD2oneX"
set frontmost to true
tell window 1
tell group 1
set value of text field 2 to fullPath
delay 1
tell pop up button 2
click
tell menu item "DVD±R(W)" of menu 1 to click
end tell
delay 0.3
tell pop up button 1
click
tell menu item "Constant" of menu 1 to click
end tell
end tell
--click button "Selections"
delay 0.3
tell drawer 1
tell tab group 1
click radio button 1
tell table 1 of scroll area 1 of splitter group 1
set selected of row 2 to true
click checkbox of row 2
--click text field 1 of row 2
(* set Audio to ""
set currentRow to 0
set totalRows to count rows
delay 0.5
tell row 2
set bla to checkbox 1 of text field 1
end tell
repeat until currentRow is equal to totalRows
set Audio to value of text field 1 of row currentRow
if Audio is "English" then
display dialog Audio
end if
set currentRow to currentRow + 1
end repeat*)
end tell
end tell
end tell
end tell
end tell
end tell