I'm programming for InDesign in VB.Net, which is similar but not identical to scripting in Vbscript. It seems like I ought to be able to code the same GREP search I could use in ID's Find GREP tab to find matching patterns one at a time, copy them to the clipboard, and then write them sequentially to a text file. But I've been playing around with it for a couple of hours and I can't seem to figure out how. There are darn few references online for using VB.Net to do stuff with ID.
Isn't there some way to script (either with VB or JS) so that the GREP find goes to the first instance, then allows you to copy it and do something with it before going on to the next? Experiments showed that if I included ChangeGrepPreferences it would go through and change every single instance of the found pattern to whatever I specified in ChangeTo. Not what I had in mind...
Kathe Todd
Audio Editions
kathe-t@audioeditions.com
-- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/InDesign/Browse/ Manage your subscription: http://www.ListSearch.com/InDesign/
Dec 18
Peter Kahrel Re: Scripting FindGrep
Dec 18, 2009; 21:30
Peter Kahrel
Re: Scripting FindGrep
Dec 19
Roy McCoy Re: Scripting FindGrep
Dec 19, 2009; 03:01
Roy McCoy
Re: Scripting FindGrep
Dec 19
Rick Gordon Re: Scripting FindGrep
Dec 19, 2009; 03:06
Rick Gordon
Re: Scripting FindGrep
Dec 19
Rick Gordon Re: Scripting FindGrep
Dec 19, 2009; 03:18
Rick Gordon
Re: Scripting FindGrep
Dec 19
Roy McCoy Re: Scripting FindGrep
Dec 19, 2009; 03:01
Roy McCoy
Re: Scripting FindGrep
Dec 19
Rick Gordon Re: Scripting FindGrep
Dec 19, 2009; 03:06
Rick Gordon
Re: Scripting FindGrep
Dec 19
Rick Gordon Re: Scripting FindGrep
Dec 19, 2009; 03:18
Rick Gordon
Re: Scripting FindGrep
Dec 19
Roy McCoy Re: Scripting FindGrep
Dec 19, 2009; 04:33
Roy McCoy
Re: Scripting FindGrep
Dec 19
Rick Gordon Re: Scripting FindGrep
Dec 19, 2009; 11:42
Rick Gordon
Re: Scripting FindGrep
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!