• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems with Sound Studio 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: uneditable [OT]
  • Next by Date: Re: evalhate without parsing?
  • Previous by thread: Re: As and Excel
  • Next by thread: Satimage XMLLib.osax
  • Index(es):
    • Date
    • Thread