Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Vbscript flickers ... Wim!

Featured Replies

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

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.

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.