July 15, 201015 yr 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
July 15, 201015 yr 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.
July 15, 201015 yr Author 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
Create an account or sign in to comment