March 20, 200322 yr Hi Geeks I want to install a quicktime file (sound) within a script. I checked some posts and one of them tells to create a container field, use "Go to field" and check "Select/Perform". I did that but it doesn't seem to work. I guess the problem is related to the field itself. After creating the container field, what are the next steps? How do I connect, paste the sound file to it? Bikeman 17
March 20, 200322 yr Insert it either by copy and paste, or using the insert sound - Menu - Insert - Sound Lee
March 20, 200322 yr Author Lee, I tried both and no result. See what I've done. I clicked on right mouse button and select "Insert QuickTime...". The container field looks like a quicktime file. Now the script, .... If Status (....) = 0 Show Message (....) Go to Field (Select/Perform, "X") Else .... The sound doesn't play. Bikeman17
March 20, 200322 yr I'm unclear as to how this file exist on your machine and what you are expecting to play if the file doesn't exist in your file. The insert and paste both are done from in Browse Mode? What OS and version of FM are you using? Lee
March 20, 200322 yr Author Lee, Actually, I operate a Windows XP and an iMac G4 (OS 9 & X) with FM 6. But I tried to implement the sound using XP. The file name is warning.wav. It plays on both computers. From the menu bar, I clicked on Insert/QuickTime. A window displays. I double-clicked on the warning.wav file. Like I said, the container field looks like a quicktime player. Bikeman17
March 21, 200322 yr Author I just wrote a simple script to make sure that the action that plays the sound works. It did right. So here is the full script where the sound should be played. Set Error Capture (On) Go to Field ("Member ID" Enter Find Mode (Pause) Perform Find (Replace Found Set) If (Status(CurrentFoundCount) = 0 Show Message (...) Enter Browse Mode Go to Field (Select,Perform, "Warning") Else ... End If Go to Layout (Check-in) Show all records Perform Script (Sub-script, "Sort ID") Go to Record/Request/Page(first) Have you tried it? Bikeman17
March 21, 200322 yr Author I found what happened! The container field for each record must have a Quicktime file in order to play the sound. When the script is performed, it enters a search mode. If the record has no quicktime file, it won't play the sound. Many thanks to all of you. In a sens, you triggered my thoughts. I found a way to avoid entering the warning sound into each record. Bikeman17
Create an account or sign in to comment