Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Set Selection Problem - FM Bug Workaround Help?

0 views
Skip to first unread message

se...@codexdata.com

unread,
Feb 25, 2008, 4:01:52 PM2/25/08
to
This is in reference to my previous post:

http://groups.google.com/group/comp.databases.filemaker/browse_thread/thread/d146ac6a7532a5cd?hl=en

I am finding this to be a major inconvenience and I was wondering if
someone could help with a work-around while we wait for FileMaker to
fix the bug.

The problem, briefly, is the the Set Selection script step does not
scroll a text field to bring the highlighted text into focus if the
selection is not visible in the area of the field. In terms of a work-
around, here's what I was thinking: the script step does properly
highlight the text, even though it does not bring it into view. At
that point, if you manually press one of the arrow keys (say, the
right arrow) the text box will scroll properly. Now, that means that
in theory one could, in OS X, write an AppleScript to simply press the
right arrow after the Set Selection script step. This would snap the
text into focus, although it would de-select the highlighted text. But
at that point perhaps a second Set Selection script step could be
issued to reselect it.

Unfortunately, I really don't know AppleScript. Maybe someone on this
list does?

Also, in thinking about this, I noticed that the script step does work
properly IF the text box does not have a scroll bar. In this case, the
text box automatically increases in size to encompass all the text.
This does not help me, because my texts are too long, however.

Thanks,

Sean

Ursus

unread,
Feb 25, 2008, 4:37:46 PM2/25/08
to
Sean I am no apple-script buff, but you might try an apple-script dedicated
forum / news-group

Keep well, Ursus

<se...@codexdata.com> schreef in bericht
news:63508134-b2a4-4980...@71g2000hse.googlegroups.com...

0 new messages