For play audio, I used AVplayer script, but got error "command is unavailable (for example, wrong operating system or mode)".
How can I record audio into one of container on FM go 16?
You need a script with go to field at the beginning of the script when the field is hidden.
Go to field recording
insert from device
Use script step "Insert from device" to record, then use AvPlayer Play to play the audio.
Dropbox - avplayerSample.fmp12
Why I click "Play" after record, but no sound?
Works fine on my devices.
Add a record, then click the Record button, then click the Save button.
To play click the Play button.
I found an issue. Sorry late night programming. I was testing in FMGo 17 and the file worked as expected. I tested this morning in FMGo 16 and the play button would not work.
I had the button setup with a single script step AVplayer Play. AVplayer play will not work in FMGo 16 as a single script step. I created a new button with a script with one line with AVplayer Play and it works both in FMGo 16 & FMGo 17. Download the file again with the change.
I created a new file to show the issue and the new file both buttons work in both FMGo 16 and FMGo 17. I guess there is an issue in FMGo 16 with a single script step but it not consistent. I would stick with button perform script and not single script step.
Used your new file, now both of two ways works in FMGo 16.
I have another question, how can I hide the container field in proper way? I tried to input 1 in "Hide object when", but it seems doesn't work for the script "insert from device" when the field is hided.
Should I have to use another object to cover it?
Retrieving data ...