I can't seem to get this to work. The basic idea is that I want to search the activedoc for either of two conditions in order. So... I'm trying to start from...
5467
Karsten Natebus
karsten_natebus
Oct 1, 2004 1:30 pm
Hello Rick, ... which is used when the EListBox has ... selected items in the list box. Is the EListBox property MultiSelect true then returns the SelIndex ...
5468
Rick Quatro
frameexpert@...
Oct 1, 2004 3:15 pm
Thanks, Karsten. I will give it a try. Hello Rick, ... which is used when the EListBox has ... selected items in the list box. Is the EListBox property...
5469
Zoe Lawson
messalina17
Oct 1, 2004 3:22 pm
Perfect! Thanks, I now have a script that opens every file in my book and converts all text insets to text. Since I'm obviously outdated, How large of a hassle...
5470
Rick Quatro
frameexpert@...
Oct 1, 2004 3:36 pm
It is definitely a worthwhile update. You may have to make some minor adjustments to your existing scripts, but most of them should work fine without...
5471
citizensagainst
Oct 1, 2004 4:05 pm
Hello again helpful Framescripters! My co-worker and I have nearly completed our first working script. We got the script to select a glossary file, use that...
5472
Karsten Natebus
karsten_natebus
Oct 1, 2004 4:20 pm
Hello Zoe, ... Yes, it is. -user defined dialogs -functions -elseif statement in the if...endif command -new database statements and commands -new array...
5473
Zoe Lawson
messalina17
Oct 1, 2004 4:28 pm
Okay, thanks for the tidbits! I've just downloaded 3.1. It will probably be a day or two before I'm brave enought to uninstall 2.1, but at least I have the ...
5474
Karsten Natebus
karsten_natebus
Oct 1, 2004 4:43 pm
... only courage and good luck ;) Karsten ... Von: Zoe Lawson [mailto:messalina17@...] Gesendet: Freitag, 1. Oktober 2004 18:28 An:...
5475
Karsten Natebus
karsten_natebus
Oct 1, 2004 4:43 pm
... only courage and good luck ;) Karsten ... Von: Zoe Lawson [mailto:messalina17@...] Gesendet: Freitag, 1. Oktober 2004 18:28 An:...
5476
Rick Quatro
frameexpert@...
Oct 1, 2004 8:17 pm
1. You need to loop through the XRefFmt objects, not the XRef objects. Rick Quatro Carmen Publishing 585 659-8267 rick@... www.frameexpert.com...
5477
cwillardr
Oct 4, 2004 5:38 am
I can't seem to get my script to continue on past the 2nd PGF in the mainflow. I am just going to paste the entire routine here in case someone has a more...
5478
messalina17
Oct 4, 2004 3:21 pm
Greetings, This is probably a very simple question, but I'm having issues finding an answer. I'm trying to write a script that loops through every open...
5479
cwillardr
Oct 4, 2004 3:33 pm
I think I got it. I added the following decision to the beginning of the script so that the event can determine if the script has been run: If (vNextLoc =...
5480
cwillardr
Oct 4, 2004 6:22 pm
Hmmm. Solved my own problem again... I was looking over some tutorial stuff from Rick Quatro and talking with my scripting buddy, I noticed that my loop was...
5481
Rick Quatro
frameexpert@...
Oct 4, 2004 7:51 pm
You should be able to use. Set oDoc = FirstOpenDoc; Loop While(oDoc) Set oNextDoc = oDoc.NextOpenDocInSession; Close Document DocObject(oDoc) IgnoreMods; Set...
5482
Zoe Lawson
messalina17
Oct 4, 2004 8:26 pm
Ah, yes, that works so much better. I'm so used to ignoring the "while" loops because I rarely can get them to work, I didn't think that this would be a ...
5484
citizensagainst
Oct 5, 2004 4:48 pm
Hi again everyone... First, thanks Rick Q for your response to my last message. We still haven't gotten it to work correctly, so I may get back to you about ...
5485
Karsten Natebus
karsten_natebus
Oct 5, 2004 5:18 pm
Hello Stacia, For find the first word or find first time variable in a document use the find command. If the find command successfully then returns the command...
5486
citizensagainst
Oct 5, 2004 8:46 pm
Hi Karsten and thanks for your quick response! We use the find command in other parts of our script, so I'm familiar with that. Our problem here is that the...
5487
Simon Bate
simonbate
Oct 5, 2004 10:01 pm
Once you've found the word, you could delete it from the stringlist. An alternative approach would be to create a parallel stringlist (or intlist) that flags...
5488
Simon Bate
simonbate
Oct 6, 2004 3:47 am
Hi there. Let me have one more go at this...this time not so hasty :-) The main problem here is figuring out when to end each of the loops, and what to do when...
5489
citizensagainst
Oct 6, 2004 2:27 pm
Just a preliminary thank you to Simon...:) I hope to revise the code and test it today. I'll let you know my results. Thank you so much for such a thorough...
5490
citizensagainst
Oct 6, 2004 6:32 pm
Your ideas worked perfectly! I just added "WholeWord" in the find and it solved the problem. Thank you so much for your help. :) -Stacia ... of ... ...
5491
Zoe Lawson
messalina17
Oct 6, 2004 6:50 pm
Greetings, I'm still puttering with my hopefully very happy script that lets me open all the book files in my doc set, click 'run script' and end up with all...
5492
Zoe Lawson
messalina17
Oct 6, 2004 7:27 pm
Doh. Loop ForEach(Book) In(Session) LoopVar(vBook) Loop ForEach(Doc) In(Session) LoopVar(oDoc) Ooops. That does state 'for each open book, go through every...
5494
messalina17
Oct 7, 2004 2:29 pm
Greetings Well, I have my script to loop through all open books, open the files I need opened, convert all text insets to text, update books, and then print...
5495
Rick Quatro
frameexpert@...
Oct 7, 2004 3:06 pm
Are any of the text insets nested inside other text insets? Rick Quatro Carmen Publishing 585 659-8267 rick@... www.frameexpert.com Greetings Well,...
5496
Karsten Natebus
karsten_natebus
Oct 7, 2004 3:17 pm
Hello Zoe, I guess the ti's are nested. Here is a sample to covert all ti's and all nested ti's. best regards Karsten 'MAC' Natebus Dipl.Ing.(FH), EMD ... ...
5497
Zoe Lawson
messalina17
Oct 7, 2004 4:26 pm
Thanks for the script, but that wasn't the issue. I didn't have any nested text insets. For some reason, this one text inset didn't want to convert in two...