June 15, 201411 yr I made a video to explain the behavior. Basically, throughout the script the cursor is in the right place (the end) and then... it just jumps to the beginning as soon as the script exits. Really bothersome as it will cause my users to seriously "bonk" http://www.screencast.com/t/CUISnwQwVRjq FileMaker Pro 13 Advanced, OSX Mavericks Thanks!
June 15, 201411 yr Hi Lauren, unfortunately the video does not load here... Can you add some more information about the script that does this? demski
June 15, 201411 yr Have you tried Exit Script ["False"] (see FM documentation) As far as I understand the "False" exit clause effectively cancels the script trigger, however all the previous actions will remain in place. Are there some field tabbing orders upsetting things? Your original starting point with a pure Exit Script is no different to it not being there as the script runs to completion anyway. Equally, try in v12 as a test.
June 15, 201411 yr Author OK, Here are a couple screenshots. In one, I have just performed the Go to Field Script step. The cursor is in the right place (at the end), the other is right after the script end (no other script steps have evaluated, no other script triggers, nothing) and the cursor has "jumped" to the front. It jumps when the script exit.s The behavior is the same: > with script debugger open or closed. > with or without an Exit Script step on the end. > if I check "Select/perform" on the Go to Field script step. > when I check "Select entire contents on entry" in the field definitions. > when I try and use "Set Selection" to override where the cursor "belongs". > when I reduce the script to ONLY that one Go to Field script step '> '>
June 15, 201411 yr Author OK, I've figured it out. Its the up arrow. When I changed the script to work on pressing the 'a' key, it simply went to the field AND THEN typed an a in the field at the end. hmmm..... ok. Any way to get FileMaker to "ignore" the actual button pressed's behavior? Does that even make sense.
June 15, 201411 yr Any way to get FileMaker to "ignore" the actual button pressed's behavior? Yes, there is: Have you tried Exit Script ["False"] (see FM documentation) --- P.S. Please try and make your questions self-contained: that is, attach your screenshots here, not elsewhere. Also, when showing a script, it's much better to post it as text than a picture.
June 15, 201411 yr Author I tried to figure out how to attach a picture and couldn't. IdealData must have responded as I was typing my next two replies. Thanks so much for the help! That worked. Of course, I knew that exiting false would stop the cursor from going to front. Wasn't thinking it through. Cheers.
June 15, 201411 yr How to attach a file? Just follow these steps BTW, you don’t have to zip a png file, you just add it like you would a zipped file. The resulting png file will show without having to go to a link. Lee Edited June 15, 201411 yr by Lee Smith added the info on png files
Create an account or sign in to comment