I want to be able to drop a Nuke script on to an Applescript application and then for the Nuke script to start rendering in a terminal.
The script needs to get the file path of the dropped item, paste that in to a terminal window along with 'nuke -xi ' and then hit return. So far I have..
on open dropped_item
get the POSIX path of dropped_item
and...
tell application "Terminal"
if not (exists window 1) then reopen
activate
end tell
Any ideas would be greatly appreciated.