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 runs when cursor enters field?!!!

Featured Replies

I guess what I am really stumped on is how to get a script to run when a cursor enters a specified field or fields. This way, I can store the location of the cursor, run some calculations and then paste the data. Any sort of buttton to activate the script makes filemaker lose the cursor location.

at the present time you will have to purchase a Plug-In to make a field trigger a script.

depending on what you are tying to do, the following may help: attach the script to the field. the first instruction in the field is go to field [theField]. the drawback is that you can't tab into the field, but if you remove the field from the tab order, then one has to click it to enter something.

quote:

Originally posted by signal:

I guess what I am really stumped on is how to get a script to run when a cursor enters a specified field or fields. This way, I can store the location of the cursor, run some calculations and then paste the data. Any sort of buttton to activate the script makes filemaker lose the cursor location.

You might experiment with something like this:

Loop

Pause/Resum Script [ 00:00:01 ]

Exit Loop If [ Status( CurrentField ) = "Trigger Field" ]

End Loop

<whatever you want to do when field is entered>

Once every second, the script will check to see if the current field is the field you want to execute a script on. If it isn't, it keeps looping. If it is, it exits the loop and you can have script steps that perform whatever you need to perform.

I've not needed such a solution before, so I haven't tested this idea, but it might work for you without needed something like the ScriptScheduler plug-in.

Chuck

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.