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.

Scripting The Opening Of An External File

Featured Replies

From within the main file I have a script that creates a new file with it's name based on a variable. In the next step I want to open that file but no attempts I've tried seem to work. I've tried the Automatically open upon completion check box, Send Event, DDE execute,etc. but nothing will open the file that was just created. Any thoughts?

What kind of file are we talking about?

Forget about DDE Execute, it's obsolete. The Send Event should work in all circumstances as long as you have the path correct. Can you post what you have tried there?

Also make sure there are no timing issues. Maybe give FM a 1 second pause between creating the file and opening it.

  • Author

The newly created file is a regular filemaker FP7.Normally a set variable approach to setting the path would be filewin:/drive:/folder:/$filepath but that approach won't work with the opening of files and that's where I'm stuck. What I'm trying to achieve is this. The master file has about 5000 records. I'm going through one at a time outputing each record as it's own file. I'm saving as a clone because I want to preserve the account privileges, layout and scripting etc for each record. (The new file is named according to the "title" of the record). Then I open the new file and import the related content from the single record in the master file. So what I end up with is a single record file copy of the master file. I just don't want to have to select the new file manually 5000 times. SO how to go about automating the opening of the new file. Thanks for the help

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.