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.

Location function in an OnTimerScript

Featured Replies

Is the Location a blocking function ?

 

I tried to put the Location in an OnTimer Script but then I could not click on any button when the Location had to search for the satellites.

 

What I'm trying to do is to "activate" the GPS (without 3G or Wifi) in the background while the user is preparing to get his location later.

As you know it can take a few minutes without 3G/Wifi so it's why I want to do this in the background.

 

Launching the script

Install OnTimerScript ["GPSActivate"; Interval: 2]

The Ontimer script

Install OnTimerScript ["STOP"] (I want the current function to run only once) 
Set Variable [$$Location; Value:LocationValues (200;250)] 

Any help would be appreciated.

 

  • Author

Ok after further analysis I understand that the OnTimer script is not in a different "thread" so it takes total control of Filemaker when it's running. Any way to run something really in the background in filemaker ?

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.