Problems with Sound Studio 3
Problems with Sound Studio 3
- Subject: Problems with Sound Studio 3
- From: Walter Bushell <email@hidden>
- Date: Thu, 02 May 2013 19:53:54 -0400
on run
repeat with eye from 1 to 8
set x to "/Users/Walter/LHCM/"
set x to POSIX file x as text
makeNewTrack("LHCM" & text -2 thru -1 of ((100 + eye as text) & ".aif"), x)
end repeat
end run
to makeNewTrack(Indication, path2)
tell application "Sound Studio"
make new document with properties {name:Indication}
--record document Indication
--delay 1
log get properties of document Indication
close document Indication saving yes saving in (path2 & Indication)
end tell
end makeNewTrack
which gives
------------
tell application "Sound Studio"
make new document with properties {name:"LHCMif"}
--> document "LHCMif"
get properties of document "LHCMif"
--> {name:"LHCMif", modified:false, total time:0.0, sample rate:4.41E+4, sample size:16, loops:false, bit rate:0.0, file:missing value, sample count:0, class:document, track count:2, options window shown on save:true, extensionless name:"LHCMif"}
(*class:document, name:LHCMif, modified:false, total time:0.0, sample rate:4.41E+4, sample size:16, loops:false, bit rate:0.0, file:missing value, sample count:0, track count:2, options window shown on save:true, extensionless name:LHCMif*)
close document "LHCMif" saving yes saving in "After Ewe Firewire:Users:Walter:LHCM:LHCMif"
--> error number -10000
Result:
error "Sound Studio got an error: AppleEvent handler failed." number -10000
Not only does SS get the name wrong should be "LHCM0N.aif" but it throws a dialog asking for bit rate which I already assigned.
--
That which is emptiness is form.
Avalokitesvara
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden