Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I am using container fields to play back mp3 sound files.

When simply assigning a button to goto the field and perform, the file plays and a quicktime-style progress bar appears in the field. Perfect. (- though a timer style counter would be GREAT)

When accessing the same action via a script however, only the "script playing" icon appears until after the sound file completes playing. There is no way to access the database at all until the script completes.

Is there a way to do this? Can scripts run in the background?

Thanks

Greg

Posted

I have tried the PS Mediaplayer plug-in suggested here (as well as 24U SimpleSound's version), but neither one provides a way to view either the progress bar of the media file in the container field or a counter of file as it plays. PS Mediaplayer does provide a way to view the time code at a specific instance when triggered from a script, but this only shows a blank field if put into a loop while media plays.

The ability to play multiple sounds at once is superceded by the need to view a music file's progress as it plays. Possible if field is activated directly by button, not so when activated by script.

Posted

wich platform you use, Mac or Pc?

The reason for the question is that there is the possibility to simulate the bar using applescript or autoit, the bar will be in a floating window.

let me know

By

Franco

Posted

Franco,

Thank you so much for your interest and help in this project.

Your suggestion to use applescript to generate an outside progress bar is an interesting one. I investigated the use of an "Extras Suite" that easily added that sort of functionality to applescript. Using a Calc field to generate the Applescript allows me to use the Duration function of PS MediaPlayer to set the loop.

The problem is that while the applescript plays, my cursor is once again highjacked and I am unable to select any other buttons (most importantly - Stop Playing Button).

I guess the primary issue here is the ability to access the database while scripts are running. This seems possible with functions in PS MediaPLayer as it does not use the FileMaker container field to play media files. If any other time consuming functions are included within the same script however (like the applescript progress bar), I must wait until the process completes before I am able to continue.

Thanks in advance for your help

Greg

This topic is 7086 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.