:banging head: yep. once again i find myself banging my head against the wall with a script issue. Probably something really small. I have this applescript that worked fine in sound studio 2.1 then i had to upgrade to 2.2.4 and now this script gives me this error
Sound Studio 2.2 got an error: NSInternalScriptError"
here is the script..
set theDate to current date
set theday to day of theDate
set thetime to time of theDate
set myaddress to "Macintosh HD:Users:davidknose:Music:tbf06:" & theday & thetime
tell application "Sound Studio 2.2.4"
activate
stop document "untitled"
delay 85
-- delay time set for writing waveform of 2 hour set
save document "untitled" in myaddress
delay 180
-- delay time set for saving waveform of 2 hour set
close document "untitled" saving no
end tell
here is the event log
tell current application
current date
date "Wednesday, July 18, 2007 8:28:28 PM"
end tell
tell application "Sound Studio 2.2.4"
activate
stop document "untitled"
delay 85
save document "untitled" in "Macintosh HD:Users:davidknose:Music:tbf06:1873708"
"Sound Studio 2.2 got an error: NSInternalScriptError"
this was the line I was using:
save document "untitled" in file myaddress as «class AIFF»
didn't like FILE, so i took it out. now it will compile but throws this error. also the delays don't seem to work anymore
hoping someone can help.
thanks, dave
well, i've upgraded to 10.4 and grabbed the demo version of SS 3.5.3 and the save feature works now I just can't figure out how to specify which file type to save it as.. i.e AIFF Audio. ???