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

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

Recommended Posts

Posted

Hello again i have been looking but have found no topics, in my solution i get the MAC to speak text on certain scripts very kool... now i see there is a Beep command. is there a way i can change the "sound" of this beep. maybe play a sound from the computer.....

Just want to polish off my solution thanks

RT

Posted

Unfortunatley it's whatever the beep is on your OS (might be able to change it somewhere in the system settings).

You could always load a sound into a container and just activate that but i doubt it's that necessary.

Posted

thanks, i thought so and at the end of the day it is a database and not a video game.. i am going to look into Applescript and see what i can come up with.

thanks

RT

Posted

Don't give up so easily!

If you don't mind using Plug-Ins there is 24U simple sound. I, for one, love it. You can play any sound you like on any event. I think it's mac compatable.

Just search 24u.

Posted

Don't give up so easily!

Okay here it is instead of using "beep" paste this applescript into filemaker. the only settings you have to change is the full path to the sound file.(located at the to of this script) if you get a error just open up system preferences and then close again that should do it. Volume can also be set aswell just change the number "100"

---------------------------

how it works........

---------------------------

This script uses the built in Alert sound to play your file.

It toggles the Alert sound from the current one to your file and back.

So no need for third party apps. and yes no more annoying beeps :Violin: :

---------------------------

property mySound : "/Users/roberttaylor/Library/Sounds/email1.m4a" -- name of a sound file and path to it

global currentSound, myMACaddress



--figure out where the beep sound is located inside the Application Bundle (package)

on run

	-- get current system alert sound

	set myMACaddress to words 2 thru 7 of (do shell script "ifconfig en0 ether | grep -i ether" as string) as string

	set currentSound to do shell script "defaults read ~/Library/Preferences/ByHost/.GlobalPreferences." & myMACaddress & " com.apple.sound.beep.sound"

	

	

	set av to alert volume of (get volume settings)

	set volume alert volume 100

	set_system_sound() -- set new sound

	beep

	

	set volume alert volume av

	do shell script "defaults write ~/Library/Preferences/ByHost/.GlobalPreferences." & myMACaddress & " com.apple.sound.beep.sound " & currentSound

end run



on set_system_sound()

	do shell script "defaults write ~/Library/Preferences/ByHost/.GlobalPreferences." & myMACaddress & " com.apple.sound.beep.sound " & mySound

	

end set_system_sound

RT :yay:

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