02-08-2013, 04:43 PM
I rewrote your original and it now works in a limited sense in Word. That is a huge step forward to where I am going. Thank You.
First Macro
str+ g_sA
;CopyAll
key Ca ;; Ctrl+A
g_sA.getsel
key D ;; Down
Second Macro
str+ g_sA
str b=g_sA
int u=find(b "<<**>>")
b.get(b 0 u)
key "The Material Before First Bookmark: "
outp b
Third Macro
str+ g_sA
str b=g_sA
int t=find(b "<<**>>")
str d=b.len
int x=val(d)
b.get(b (t+6) x)
key "The Material After First Bookmark: "
outp b
In the second Macro is there a way to repeat until it no longer finds the bookmark <<**>>.
As for the TypeLib it might work but it takes me in a new direction. I will do some work in that error and get back.
First Macro
str+ g_sA
;CopyAll
key Ca ;; Ctrl+A
g_sA.getsel
key D ;; Down
Second Macro
str+ g_sA
str b=g_sA
int u=find(b "<<**>>")
b.get(b 0 u)
key "The Material Before First Bookmark: "
outp b
Third Macro
str+ g_sA
str b=g_sA
int t=find(b "<<**>>")
str d=b.len
int x=val(d)
b.get(b (t+6) x)
key "The Material After First Bookmark: "
outp b
In the second Macro is there a way to repeat until it no longer finds the bookmark <<**>>.
As for the TypeLib it might work but it takes me in a new direction. I will do some work in that error and get back.
