K1200 Posted September 27, 2012 Posted September 27, 2012 What check can a script perform on a container field to determine if it contains a sound file? My immediate need is for PC file formats, but a cross-platform check would be useful. Thanks in advance for any help.
comment Posted September 27, 2012 Posted September 27, 2012 If it is a file, you can check its extension, looking at GetAsText ( ContainerField ).
K1200 Posted September 28, 2012 Author Posted September 28, 2012 Actually, I had tried that ... since it works on image files. But all I got was "?" in return. Maybe there was an error in the script step, but my workaround on the whole Sound Record issue eliminated my need to check. Thanks, anyway, for your response.
comment Posted September 28, 2012 Posted September 28, 2012 all I got was "?" in return. That's because a sound recording is not a file.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now