Here is one way you can do it: // Get the selected element. Set oElement = ElementSelection.Begin.Child; // Get the element's text range. Set tTextRange =...
Rick Quatro
frameexpert@...
Apr 2, 2007 11:39 am
7537
Here is another way to do it if your element spans multiple pages: Set oElement = ElementSelection.Begin.Child; Get TextList InObject(oElement) PageBegin...
Rick Quatro
frameexpert@...
Apr 2, 2007 11:46 am
7538
Hi All: My Aim is to Judge the Place Of Current Cursor(TextLoc) Which is in Left Subcol or Right. The Method Which I Thought is Retrive the Distance from the...
Here is how to move from the cursor's text location up to the text frame. Set tTextLoc = TextSelection.Begin; Set oSubCol = tTextLoc.InTextObj; Set oTextFrame...
Rick Quatro
frameexpert@...
Apr 3, 2007 11:45 am
7540
Hi all: I meet an obstacle. I want to get the content of Article,but I don't know the relations of "aqtitle","Author Query Form" and "Aricle:***". I should use...
Hi all: I ask you a qustion. For example: The framescript will install my program(*.fsl) automatically after Adobe FrameScript is opened while not at all...
Thanks Rick Quatro,your answer is very correct. I have used it. Thank you agin for your more times help. -- In framescript-users@yahoogroups.com, "Rick Quatro"...
Hello FrameScript users I am a very new user of FrameScript but after playing with it for a couple of weeks I have managed to achieve most of my initial ...
Joe Schrengohst kindly directed me to Message 1883 from Rick Quatro which says: Here is the syntax to call the TableSort DLL with FrameScript. CallClient...
Hi Alex, There actually is a way to call the FrameMaker Table Sort command. The Table Sort command is implemented as an API client so you have to call it using...
Rick Quatro
frameexpert@...
Apr 7, 2007 12:52 pm
7547
I am using code such as the following to find and delete a text string: Find FromTextLoc(vTLoc) String('AAA') ReturnRange(vRange) ReturnStatus(vFound); If...
Hi David, You can use the function below to delete just the strings from a text range. Rick Quatro Carmen Publishing 585-659-8267 www.frameexpert.com Find...
Rick Quatro
frameexpert@...
Apr 9, 2007 12:02 am
7549
Hi all, Can any one share some of the real time examples of frame scripts. Thanking you in advance...
Thanks, Rick. I came up with the following solution on my own. It differs from yours in that it preserves the markers only if they are at the start of the...
*bump* Any ideas about that issue? It wasn't my fault that the message appeared like 10-times, yahoo had a bug that day. <---------------------------> Hi...
Is there a script or a way to connect and set all the text flows to "A"? For some reason, Korea is now sending me files with multiple text flows. This prevents...
Hi Bill, Connecting text frames is a matter of setting a text frame's NextTextFrameInFlow or PrevTextFrameInFlow properties to the next or previous text frame,...
Rick Quatro
frameexpert@...
Apr 10, 2007 9:30 pm
7554
Hi David, TextLists are always returned in document order. When you traverse paragraphs using NextPgfInFlow, these will be processed in document order. Of...
Rick Quatro
frameexpert@...
Apr 10, 2007 11:23 pm
7555
Hi all: ... type= title ... element end. How can i get the text 'xuyanning'.and '2'; If the elemet is exit i can get string 'xiaoduan' and 'cao'. I don't know...
Sorry for bumping this old thread, but i'm having the same problem. Could you please share a code example? I don't know how to get an AFrame's Textrange... ...
Let's assume that you have an anchored frame selected, so that Set oAFrame = FirstSelectedGraphicInDoc; The anchored frame's text location is oAFrame.TextLoc ...
Rick Quatro
frameexpert@...
Apr 12, 2007 2:58 pm
7558
Thank you Rick for the further background on this. I've just got back from a week's holiday, hence the delay in acknowledging. Alex ... The Table ... using ......
Hi all: I get the special textrange. I draw a reactangle get its width is 228pt and heghit is 166pt. But i don't know how to use language realize the function...
Hi all: I do RunningHead(Title) but it contains itlic ,symbol,sup.....¡£I use follow code but the textoffset is wrong it cause behind textrange is also...
We are producing a developers tutorial and we want to apply syntax highlighting to the various code snippets. So I want to take an element with a specific role...
Marcus Streets
marcus@...
Apr 16, 2007 4:09 pm
7562
Hi Marcus, You can use FrameScript 4.1R2 or higher with the VBScript.RegExp object so you can use regular expressions to find keywords or language patterns....
Rick Quatro
frameexpert@...
Apr 16, 2007 4:33 pm
7563
Hello Marcus, ... Many text editors support syntax highlighting; the configuration files can normally easily be adapted to your programming language (if it...
Hi, I saw the response to Alex re calling a FM Table Sort Command, and I was wondering if there is a similar command to call a FM Convert Text to Table...