- Posts: 2
- Joined: Fri May 26, 2017 12:18 am
Hello, I have an apple script that I need help with PLEASE.. I am trying to...
1. Start the application Media Express
2. Start the recording
3. record for a duration of time
4. Stop the recording
5. Close Media Express
6. DON'T SAVE
7. Exit/Finished
I have steps 1 -4 working...but I can't get 5-7...I need help with the final steps, please! I know may people that would find this very helpful... The script is below...
tell application "Blackmagic Media Express"
activate
tell application "System Events"
keystroke "1" using {command down} -- Command-1
delay 5
key code 15 using {command down} -- Command-r
delay 5
key code 53
end tell
end tell
ABOVE is the script that works fine with steps 5-7
Any idea what to add?
I have tried this and it doesn't work...
tell application "Blackmagic Media Express"
activate
tell application "System Events"
keystroke "1" using {command down} -- Command-1
delay 5
key code 15 using {command down} -- Command-r
delay 10
key code 53
delay 5
end tell
quit
tell application "System Events"
key code 48
key code 48
delay 3
key code 36
end tell
end tell
PLEASE Help!
1. Start the application Media Express
2. Start the recording
3. record for a duration of time
4. Stop the recording
5. Close Media Express
6. DON'T SAVE
7. Exit/Finished
I have steps 1 -4 working...but I can't get 5-7...I need help with the final steps, please! I know may people that would find this very helpful... The script is below...
tell application "Blackmagic Media Express"
activate
tell application "System Events"
keystroke "1" using {command down} -- Command-1
delay 5
key code 15 using {command down} -- Command-r
delay 5
key code 53
end tell
end tell
ABOVE is the script that works fine with steps 5-7
Any idea what to add?
I have tried this and it doesn't work...
tell application "Blackmagic Media Express"
activate
tell application "System Events"
keystroke "1" using {command down} -- Command-1
delay 5
key code 15 using {command down} -- Command-r
delay 10
key code 53
delay 5
end tell
quit
tell application "System Events"
key code 48
key code 48
delay 3
key code 36
end tell
end tell
PLEASE Help!