hartsteins Posted September 4, 2005 Posted September 4, 2005 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
Franco Posted September 4, 2005 Posted September 4, 2005 (edited) Check the product here: Here Edited September 4, 2005 by Guest URL to Product Announcement
hartsteins Posted September 5, 2005 Author Posted September 5, 2005 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.
Franco Posted September 5, 2005 Posted September 5, 2005 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
hartsteins Posted September 5, 2005 Author Posted September 5, 2005 I am on a Mac platform (Tiger 10.4.2) I am unfamiliar on how to accomplish this via applescript. Any help would be...well...helpful. Thanks in advance. Greg
Franco Posted September 5, 2005 Posted September 5, 2005 i will make some test to post you an answer by franco
hartsteins Posted September 6, 2005 Author Posted September 6, 2005 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now