Bikeman17 Posted March 20, 2003 Posted March 20, 2003 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
Lee Smith Posted March 20, 2003 Posted March 20, 2003 Insert it either by copy and paste, or using the insert sound - Menu - Insert - Sound Lee
Bikeman17 Posted March 20, 2003 Author Posted March 20, 2003 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
Lee Smith Posted March 20, 2003 Posted March 20, 2003 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
Bikeman17 Posted March 20, 2003 Author Posted March 20, 2003 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
jfmcel Posted March 20, 2003 Posted March 20, 2003 What happens if you double click on the field in browse mode?
Bikeman17 Posted March 21, 2003 Author Posted March 21, 2003 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
Bikeman17 Posted March 21, 2003 Author Posted March 21, 2003 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
Recommended Posts
This topic is 7989 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