Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6240 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted (edited)

Hello. I'm an absolute newbie to scriptwriting but I need to fix one problem with a database.

It's a search db for a sound effects library.

when one finds what he wants in it and clicks on the track he found the track is being played in media player. The problem is that it only plays

.wav files. I need to make it play .mp3 as well.

So I found this script in my .fm7 file (it's OPEN URL category in Edit Script window);)

GetAsText ( Hollywood_Edge_SFX_Win::Path to soundfiles ) & "/" & GetAsText ( Hollywood_Edge_SFX_Win::Set Code ) & "/" & GetAsText ( Hollywood_Edge_SFX_Win::Disc ) & "/" & GetAsText ( Hollywood_Edge_SFX_Win::Disc ) & "-" & GetAsText ( Hollywood_Edge_SFX_Win::Track ) & ".wav"

Is it possible to edit it so that it would play .mp3 as well as .wav?

Thanks very much in advance.

Eugene.

Edited by Guest
  • Newbies
Posted (edited)

Yes, I have. But in that case it only plays .mp3. I need to be able to play both .wav and .mp3 file types.

I think some line has to be added to the script but I have no idea what it should be. Please help someone!

Thanks.

Edited by Guest
  • Newbies
Posted

Thanks for the tip, Shawn!

You see, the problem is that I've no idea how to do scripts, really. I tried duplicating it and changed .wav to .mp3 in the clone script but it didn't work. I'll try your advice of course but I'm not sure I'll do it right. I need an example, please! If someone could edit the script I posted that'd be awesome.

Cheers.

PS. there are some unwanted spaces appeared in the script after I posted it to the forum like here: P ath to soundfiles. There should't be any spaces.

This topic is 6240 days old. Please don't post here. Open a new topic instead.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.