August 6, 201411 yr 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.
August 6, 201411 yr 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