Hello Rick, ... Yes, this is possible with FS2.x. Using your example: Create a script file "RefreshScreen.fsl": Set Session.Label = 'Adobe...
5350
dan visel
viselsparknotes
Aug 20, 2004 5:14 pm
Hi all, For a while I've had a strange problem when working with files coming into Frame 7.0 (on a Mac) from recent versions of Microsoft Word: at certain...
5349
rsdelong
Aug 20, 2004 5:11 pm
I've written number of scripts that I want to share with other writers within the company. I write and test the scripts as standard scripts, then migrate them...
5348
Paul Zinn
paul_zinn
Aug 17, 2004 6:58 pm
This works great. Thanks, Klaus! Paul ... From: "Müller, Klaus" [mailto:kmueller@...] Sent: Tuesday, August 17, 2004 10:10 AM To:...
5347
"Müller, Kla...
klaus_mueller23
Aug 17, 2004 5:10 pm
Hello Paul, You can move the markers and anchors out of the found text before replacing it: Set vSearch = 'StringToSearch'; Set vReplace = 'StringToReplace'; ...
5346
Paul Zinn
paul_zinn
Aug 17, 2004 4:59 pm
FrameScripters, I'm working on a find-and-replace script, and find myself trying to solve a problem that must have been encountered before. A string found in...
5345
rickrett
Aug 17, 2004 4:25 am
It turns out you need to update XREFs after you place them (I guess). I added the command "Update XRef Everything;" and that seemed to fix things. Rick ... it ...
5344
rickrett
Aug 17, 2004 3:37 am
Hi Dick- I tried it, but it didn't work. I don't get an error or anything, it just doesn't add the XREF. I think I'll play with the XREF format and see if that...
5343
Dick Girard
dick_girard
Aug 17, 2004 12:30 am
Rick, ... With this: New XRef Format('Heading & Page') NewVar(vXRef) TextLoc(vPgfloc); Set vXRef.XRefSrcText= vMarkertext; Set vXRef.XRefFile =...
5342
rickrett
Aug 16, 2004 10:36 pm
Hey Scripters - I'm working on an event script to shortcut the XREF creation process. The script will use a shortcut keys to first place a marker (this seems...
5341
Dick Girard
dick_girard
Aug 9, 2004 10:46 pm
I use "FrameScript (FS) script" at first mention, then "FS script" after that if I'm talking to someone who is not familiar with FrameScript, or just "script"...
5340
Rick Quatro
frameexpert@...
Aug 9, 2004 8:18 pm
I usually just refer to a "script" if it is obvious that it is a FrameScript script. Otherwise, I use the somewhat awkward "FrameScript script". Rick Quatro ...
5339
cwillardr
Aug 9, 2004 8:16 pm
hmmm.. Lots of good points. Consistency is critical, as I just found out the hard way (the spelling error in the TLoc variable). A lot of that worked it's way...
5338
cwillardr
Aug 9, 2004 7:54 pm
I usually refer to the scripts as FrameScripts. If I need to distinquish between the application and the scripts in the same line of thought, I refer to the...
5337
Klaus Mueller
klaus_mueller23
Aug 9, 2004 7:44 pm
Hi all, Could anyone tell me whether the term "FrameScript" is valid for a script or not? Obviously, "FrameScript" itself is the FM-plugin. How do you denote a...
5336
Klaus Mueller
klaus_mueller23
Aug 9, 2004 7:31 pm
Hello Chuck. ... Although the FS compiler will assume that you want to search for strings if no object type is specified, I recommend to always specify the...
5335
Karsten Natebus
karsten_natebus
Aug 9, 2004 5:32 pm
Hello Frank, Use the methods of Esystem- or the eSys- object for access on the ini-files. ... file? New ESystem NewVar(objESystem); Set vIniFile = ClientDir +...
5334
cwillardr
Aug 9, 2004 4:55 pm
Hi Klaus- Thanks for the clue; It is almost working. I can detect the difference in the text ranges, but now the "Find.. " command keeps finding the same range...
5333
Marcus Streets
marcus@...
Aug 9, 2004 3:23 pm
... I would write an event script that runs whenever you open a file and looks for the userstring. If it finds the sting, it calls a subrutine to process the...
5332
"Preiß, Fra...
fraprei
Aug 9, 2004 3:05 pm
Hello all, I'm new both to this list and to FrameScript. So hello to all! I'd like to automatically run a script, whenever FrameMaker opens certain MIF files...
5331
Rick Quatro
frameexpert@...
Aug 9, 2004 11:44 am
You should be able to use Add Member('') To(sStringList); Rick Quatro Carmen Publishing 585 659-8267 rick@... www.frameexpert.com...
5330
willibutz78
Aug 9, 2004 9:28 am
Hi, I have a dialog using a dropdownbox "feeded" by a stringlist. The choosen value of this dropdownbox is used later to be set as a user variable which is...
5329
Klaus Mueller
klaus_mueller23
Aug 8, 2004 11:21 pm
Hello Chuck, ... How do you search, Chuck? There are some different methods to search in different objects: Using "Find String InString" is not recommended...
5328
cwillardr
Aug 8, 2004 8:47 pm
I posted a week or so ago about this, but I still can't wrap my mind around it. With my search/replace routine, if the "searched" text is inside of a variable...
5327
karsten_natebus
Aug 7, 2004 7:06 am
Hello, The unwrap command don't work with the top-level element in a structure document. best regards Karsten 'MAC' Natebus Dipl.Ing.(FH), EMD ... ...
5326
dan visel
viselsparknotes
Aug 6, 2004 9:25 pm
Couldn't you do a recursive UNWRAP? Or does that not work at the top level?...
5325
Rick Quatro
frameexpert@...
Aug 6, 2004 8:05 pm
Hi Bill, Yes, but I would have to restart FrameMaker in non-structured mode, which takes away most of the automation. Thanks. Rick Quatro Carmen Publishing 585...
5324
Bill Marcotte
BillMarcotte
Aug 6, 2004 8:00 pm
If you open an FM document with the application set to the non-structured interface, all structure information is stripped out. Would this solve the problem? I...
5323
Rick A. Henkel
rickhenkel
Aug 6, 2004 5:46 pm
Perfect. Thanks to both of you. Rick...
5322
karsten_natebus
Aug 6, 2004 4:03 pm
Hallo Rick, ... or ... See also msg 5305. Set objDoc = Session.ActiveDoc; If (Not objDoc) Write Console 'Kein aktives Dokument'; LeaveSub; EndIf If...