Skip 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.

Script to open container for edit

Featured Replies

  • Newbies

This is my first post. I would like to create a script so that a container can easily be opened for editing (rather than having to right click and then select OPEN PRESENTATION). That way I could make the container itself be a button and all the user has to do is to click on it to edit it.

I have powerpoint slides in containers. If the user double clicks on them they open for viewing. I am using FM 5. I would appreciate any help anyone can give me. Thanks in advance.

The only option you have is a scripted Go To Field with the "select/perform" option toggled. Unfortunately with powerpoint slides it just shows the presentation but doesn't open it for editing. So I think you're out of luck.

Maybe a link to the file would be better instead of embedding the object?

  • 2 weeks later...

This is possible by using a very short easy visual basic script

write a filemaker script that goes to but does not preform the container field you want to edit, then use a send message script step to open a .vbs file (can be made in notepad and saved with a .vbs)

the visual basic file should be:

'This file must be saved with a .VBS extention for computer to run it

' make a script in filemaker

'that goes to but does not preform

'the field you want to edit

'and use a sendmessage script step to run

'this visual basic script

Set WshShell = WScript.CreateObject("WScript.Shell")

'activates filemaker

WshShell.AppActivate "FileMaker Pro"

'same as shift+F10 same as right click

WshShell.SendKeys"+{F10}"

'allows time for keystokes to register 1000=1sec

WScript.Sleep 500

'same as hitting E on the keyboard

WshShell.SendKeys"E"

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.