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

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

Recommended Posts

Posted

I have a situation where i wish to use a call to the system sounds in the Media folder ... now this is in this case done by exporting this from a field - as mentioned in this post:

http://fmforums.com/forum/showpost.php?post/359692/

...it works, but action changes the focus to the OS for a short while. What I would wish for is the omission of the ...is it called "handshake" - if I do something similar under OS X will it continue in the background ... just as if performing an applescript not is expected to be completed when the next scriptmaker step is executed.

Could this, what my wife call's a typical "male" way of multi tasking be avoided with Vbscript?

--sd

Posted

There are two FileMaker script steps that can be useful for invoking a Windows command line program.

SendDDE Execute[] and Send Event[]

Send Event[] may be easier to use but it may not work in Windows XP. (I had to detect the OS and use SendDDE Execute[] for my Windows XP clients.)

You can try:

Set Variable [$targetCommand]; Value:"cmd /c sndrec32 /play /close ..."]

Send Event ["aevt"; "odoc"; $targetCommand]

where you have encoded the command carefully into a calculation assigned to $targetCommand.

Posted

Tom I tried your advice, and it executes the file, but dear me now even with a blue box with background popping up, and if the sound snippet is of some lenght it lasts open for the duration of the playback ... which might serve it's courses - but is opposite mine!

But if you look at what Wim writes:

http://fmforums.com/forum/showpost.php?post/360581/

...am I probably getting it as good as I can get it for the moment, which btw is export with the open option turend on.

--sd

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