Search the Community
Showing results for tags 'selection'.
I have a button script that changes the size of a selection in a text field. This is it: Insert Calculated Result [ TextSize ( Middle ( Get ( ActiveFieldContents ) ; Get ( ActiveSelectionStart ) ; Get ( ActiveSelectionSize ) ) ; $size ) ] A problem with this is that if the selection begins with styled characters (bold, underlined, etc) then the entire resized area becomes styled. If there is at least 1 unstyled character before the first styled one, then all styled and unstyled characters remain as they were. What is missing from the calculation?
Hello FM Mavens, I would like to be able to change an attribute (happens to be the size) of a selection in a text window with a script. (Basically, as if moving the size selector from the Formatting Bar into a button on a layout). I created a script that cuts the selection, puts it in another text field, makes the change, cuts it out and goes back to the original field but by then the insertion point is gone. I can manually paste it back of course. I wonder if there is a way to remember the insertion point somehow and make it a so the paste step uses it. Thanks Asu
I would like to use a portal to open external files. I have a portal that contains related records from another table. Each record has a related video file associated with it. In a field within that table I have a file path that leads to the external file. To back up a bit, I am hosting this database on FM Server Advanced. I want the user to click on a portal row and open the associated video file in a separate window. I can do this locally by using the Send Event to open the file and this works. However, external users cannot open the videos. Is there a way to accomplish this using an