Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a New Dialog
#20
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)