Sound Studio script quits working
Sound Studio script quits working
- Subject: Sound Studio script quits working
- From: Jim Brandt <email@hidden>
- Date: Wed, 20 May 2009 10:28:25 -0500
This is a piece of a script that was working last week but now has
quit working:
------------------------------------------------------------------------
-----------
set yyyymmdd to (do shell script ("date \"+%Y%m%d\"") as text)
set _rush to "Rush " & yyyymmdd
tell application "Sound Studio"
activate
if exists (window "untitled") then close window "untitled"
set _sd2 to make new document with properties {name:_rush, bit
rate:16000}
delay 2
tell application "System Events"
tell process "Sound Studio"
activate
-- keystroke "R" using {command down, shift down}
click menu item "Auto Start/Stop Recording..." of menu 1 of
menu bar item "Audio" of menu bar 1
delay 0.5
click pop up button 1 of sheet 1 of window _rush
delay 0.5
click menu item "Rush" of menu 1 of pop up button 1 of sheet 1
of window _rush
... remainder of script
------------------------------------------------------------------------
-----------
I am attempting to create a new recording that starts and stops at
specific
times. I have these times stored in a preset that then shows up
in a popup menu.
Originally, I opened the dialog using the keystroke command. When
that quit
working last week, I changed it to the click menu item
"Auto Start/Stop Recording..." However, this doesn't work either.
It all works manually.
I did install the new security update on Saturday, but this script
quit working on
Thursday, before that installation.
Any suggestions?
TIA,
Jim
_______________________________________________
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