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.

Start FM without Open window

Featured Replies

  • Newbies

Hi,

Is it possible to start FM without having the Open window ?

I have a VBScript that I want to execute everyday using the Windows task manager.

Here's the VBScript :

Option Explicit

Dim Oshell

Dim strCmd

Dim FMApp

Dim FMDocs

Dim myOpenFile

Set OShell = CreateObject ("wscript.shell")

strCmd = chr(34) & "C:Program FilesFileMakerFilemaker Pro 8.5 AdvancedFilemaker Pro Advanced.exe"

OShell.Run strCmd, False

'wait 10 seconds for correct start

wscript.sleep 10000

Set FMApp = CreateObject("FMPRO.Application")

Set FMDocs = FMApp.Documents

Set myOpenFile = FMDocs.Open("C:FileName","User","PassWord")

myOpenFile.DoFMScript ("ScriptName")

But on that line,

strCmd = chr(34) & "C:Program FilesFileMakerFilemaker Pro 8.5 AdvancedFilemaker Pro Advanced.exe"

I'm prompt with the Open window. After I click Cancel, everythings going well with the script.

Thank you

Probitai

Edited by Guest

Hi Probitai and welcome to These forums :,

I'm not sure that you actually need to specifically specify that FileMaker be run first.. i.e. you should be able to omit:

Set OShell = CreateObject ("wscript.shell")

strCmd = chr(34) & "C:Program FilesFileMakerFilemaker Pro 8.5 AdvancedFilemaker Pro Advanced.exe"

OShell.Run strCmd, False

Oh right, but it will start hidden by default so just chuck in:

FMApp.Visible = True

after:

Set FMApp = CreateObject("FMPRO.Application")

  • Author
  • Newbies

Thanks a lot !

It works !

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.