prelim test passes for potato
'Command.Eject'
This commit is contained in:
pblivingston 2025-12-02 18:12:15 -05:00
parent d7cb1d610d
commit 8c3217b9a8
3 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,7 @@ AddActionMembers now adds ScriptMethods instead of ScriptProperties:
- Recorder.Armedbus - Recorder.Armedbus
- Recorder.PreRecTime - Recorder.PreRecTime
- Recorder.Prefix($prefix) - Recorder.Prefix($prefix)
- Recorder.Eject() references 'Command.Eject'
### Changed ### Changed

View File

@ -543,6 +543,7 @@ The following methods are available:
- Rew() - Rew()
- Record() - Record()
- Pause() - Pause()
- Eject()
- Load($filepath): string - Load($filepath): string
- GoTo($timestring): string, must match the format 'hh:mm:ss' - GoTo($timestring): string, must match the format 'hh:mm:ss'
- FileType($format): string, ('wav', 'aiff', 'bwf', 'mp3') - FileType($format): string, ('wav', 'aiff', 'bwf', 'mp3')

View File

@ -154,6 +154,10 @@ class Recorder : IRemote {
[void] Prefix ([string]$prefix) { [void] Prefix ([string]$prefix) {
$this.Setter('prefix', $prefix) $this.Setter('prefix', $prefix)
} }
[void] Eject () {
$this.remote.Setter('Command.Eject', 1)
}
} }
class RecorderMode : IRemote { class RecorderMode : IRemote {