+ Reply to Thread
Results 1 to 2 of 2

Thread: recorded search strings causing macro to stop

Hybrid View

  1. #1

    recorded search strings causing macro to stop

    I am using v 6.15.3

    Hi I'm a long time user .. haven't posted here for a looong time

    About 8!!! years ago I noticed when recording a keystroke macros that if do a search ( F2) and type in a text string, when I play back the macro it opens the search dialogue box with the recorded search string highlighted and stops waiting for input.
    If you then hit next it searches for the highlighted string and stops.

    My work around for the past many years has been to put the required search string into the search buffer then record the keystroke macro and use search-for-next ( F3) to read then search string. tyhe recorded macro then runs till competed.

    The drawback to that work around is that a keystroke macro can only ever search for the one preset string



    Possibly the problem may be due to my VEDIT.KEY file which , IIRC, I copied from an earlier version before the quick record and playback keystroke option was added, but I feel that is unlikely.

    My VEDIT.KEY file is as follows


    Enter [RETURN]
    Esc [ESCAPE]
    Ctrl-M [RETURN]
    Ctrl-[ [ESCAPE]
    Alt-[ [MENU]GN
    Alt-/ [ESCAPE]W
    Alt-- [MENU]VB
    Alt-= [MENU]VH
    Alt-. [MENU]VV
    Alt-\ [MENU]VH
    Alt-] [MENU]GD
    Alt-A [MENU]CKA
    Alt-B [MENU]B
    Alt-Bksp [MENU]EUE
    Alt-C [MENU]C
    Alt-Cursor-Down [SCROLL DOWN]
    Alt-Cursor-Left [SCROLL LEFT]
    Alt-Cursor-Right [SCROLL RIGHT]
    Alt-Cursor-Up [SCROLL UP]
    Alt-D [MENU]VD
    Alt-E [MENU]E
    Alt-Enter [MENU]EUR
    Alt-F [MENU]F
    Alt-F1 [MENU]HK
    Alt-F10 [VISUAL ESCAPE]
    Alt-F11 [T-REG MOVE]
    Alt-F12 [MENU]FS
    Alt-F2 [MENU]SR
    Alt-F4 [MENU]FX
    Alt-F5 [MENU]WS
    Alt-F9 [MENU]BM
    Alt-G [MENU]G
    Alt-H [MENU]H
    Alt-I [MENU]MC
    Alt-J [MENU]VC
    Alt-K [MENU]CKR
    Alt-L [MENU]BL
    Alt-M [MENU]M
    Alt-N [MENU]BN
    Alt-O [MENU]FMS
    Alt-R [REPEAT LAST]
    Alt-S [MENU]S
    Alt-T [MENU]T
    Alt-U [MENU]U
    Alt-V [MENU]V
    Alt-W [MENU]W
    Alt-X [MENU]FX
    Alt-Y [MENU]FMH
    Alt-Z [MENU]VZ
    Backspace [BACKSPACE]
    Ctrl-[ [ESCAPE]
    Ctrl-^ [ENTER CTRL]
    Ctrl-\ [CANCEL]
    Ctrl-] [MENU]GM
    Ctrl-A [MENU]BA
    Ctrl-B [MENU]EFF
    Ctrl-Bksp [DEL PREV WORD]
    Ctrl-C [MENU]EC
    Ctrl-Cursor-Down [NEXT PARAGRAPH]
    Ctrl-Cursor-Left [PREV WORD]
    Ctrl-Cursor-Right [NEXT WORD]
    Ctrl-Cursor-Up [PREV PARAGRAPH]
    Ctrl-D [MENU]GS
    Ctrl-Del [DEL NEXT WORD]
    Ctrl-E [VISUAL EXIT]
    Ctrl-End [MENU]GE
    Ctrl-Enter [NEXT LINE]
    Ctrl-F [MENU]SS
    Ctrl-F10 [VISUAL EXIT]
    Ctrl-F11 [T-REG COPY]
    Ctrl-F2 [MENU]SA
    Ctrl-F3 [MENU]SC
    Ctrl-F4 [MENU]WO
    Ctrl-F5 [MENU]WP
    Ctrl-F6 [MENU]WN
    Ctrl-F7 [MENU]ML
    Ctrl-F8 [MENU]ME
    Ctrl-F9 [MENU]BC
    Ctrl-G [MENU]GG
    Ctrl-H [MENU]SR
    Ctrl-Home [MENU]GB
    Ctrl-I [MENU]SI
    Ctrl-Ins [MENU]ESC
    Ctrl-J [ERASE BOL]
    Ctrl-K [ERASE EOL]
    Ctrl-L [ERASE LINE]
    Ctrl-M [RETURN]
    Ctrl-N [MENU]FN
    Ctrl-O [MENU]FO
    Ctrl-P [MENU]FP
    Ctrl-PgDn [SCREEN END]
    Ctrl-PgUp [SCREEN BEGIN]
    Ctrl-R [REPEAT]
    Ctrl-S [MENU]sr[OPTION]S
    Ctrl-Tab [NEXT TAB STOP]
    Ctrl-U [MENU]EUL
    Ctrl-V [MENU]EP
    Ctrl-W [ENTER CTRL]
    Ctrl-X [MENU]ET
    Ctrl-Y [MENU]EUR
    Ctrl-Z [MENU]EUE
    Cursor-Down [CURSOR DOWN]
    Cursor-Left [CURSOR LEFT]
    Cursor-Right [CURSOR RIGHT]
    Cursor-Up [CURSOR UP]
    Del [DELETE]
    End [LINE END]
    Enter [RETURN]
    Esc [ESCAPE]
    Esc [ESCAPE]
    F1 [HELP]
    F10 [MENU]
    F11 [T-REG INSERT]
    F12 [VISUAL EXIT] Syntax_Load("C:\VEDIT\GSI.syn") Config(PG_E_SYNTAX,Config(PG_E_SYNTAX)==0,LOCAL)
    F2 [MENU]SS
    F3 [MENU]SN
    F4 [MENU]FBS
    F5 [MENU]FBP
    F6 [MENU]FBN
    F7 [MENU]EFU
    F8 [MENU]EFI
    F9 [MENU]BS
    Home [LINE BEGIN]
    Ins [INSERT TOGGLE]
    Numpad/ [VISUAL EXIT]
    Numpad- [T-REG MOVE]
    Numpad+ [T-REG COPY]
    Numpad* [T-REG INSERT]
    Numpad.Enter [RETURN]
    PgDn [PAGE DOWN]
    PgUp [PAGE UP]
    Quick aaa[RETURN]bbb[RETURN]ccc[RETURN]
    Shft-Del [MENU]EST
    Shft-F2 [MENU]SB
    Shft-F3 [MENU]SP
    Shft-F9 [MENU]BR
    Shft-Ins [MENU]ESP
    Shft-Tab [BACKTAB]
    Tab [TAB CHARACTER]
    Ctrl-Shft-R [MENU]MQ
    Ctrl-Shft-P [MENU]MP

  2. #2
    Senior Member
    Join Date
    Nov 2014
    Location
    Minneapolis, MN
    Posts
    275
    Quote Originally Posted by Stephen Rawling View Post
    I am using v 6.15.3

    Hi I'm a long time user .. haven't posted here for a looong time

    About 8!!! years ago I noticed when recording a keystroke macros that if do a search ( F2) and type in a text string, when I play back the macro it opens the search dialogue box with the recorded search string highlighted and stops waiting for input.
    If you then hit next it searches for the highlighted string and stops.

    My work around for the past many years has been to put the required search string into the search buffer then record the keystroke macro and use search-for-next ( F3) to read then search string. tyhe recorded macro then runs till competed.

    The drawback to that work around is that a keystroke macro can only ever search for the one preset string



    Possibly the problem may be due to my VEDIT.KEY file which , IIRC, I copied from an earlier version before the quick record and playback keystroke option was added, but I feel that is unlikely.

    My VEDIT.KEY file is as follows


    Enter [RETURN]
    Esc [ESCAPE]
    Ctrl-M [RETURN]
    Ctrl-[ [ESCAPE]
    Alt-[ [MENU]GN
    Alt-/ [ESCAPE]W
    Alt-- [MENU]VB
    Alt-= [MENU]VH
    Alt-. [MENU]VV
    Alt-\ [MENU]VH
    Alt-] [MENU]GD
    Alt-A [MENU]CKA
    Alt-B [MENU]B
    Alt-Bksp [MENU]EUE
    Alt-C [MENU]C
    Alt-Cursor-Down [SCROLL DOWN]
    Alt-Cursor-Left [SCROLL LEFT]
    Alt-Cursor-Right [SCROLL RIGHT]
    Alt-Cursor-Up [SCROLL UP]
    Alt-D [MENU]VD
    Alt-E [MENU]E
    Alt-Enter [MENU]EUR
    Alt-F [MENU]F
    Alt-F1 [MENU]HK
    Alt-F10 [VISUAL ESCAPE]
    Alt-F11 [T-REG MOVE]
    Alt-F12 [MENU]FS
    Alt-F2 [MENU]SR
    Alt-F4 [MENU]FX
    Alt-F5 [MENU]WS
    Alt-F9 [MENU]BM
    Alt-G [MENU]G
    Alt-H [MENU]H
    Alt-I [MENU]MC
    Alt-J [MENU]VC
    Alt-K [MENU]CKR
    Alt-L [MENU]BL
    Alt-M [MENU]M
    Alt-N [MENU]BN
    Alt-O [MENU]FMS
    Alt-R [REPEAT LAST]
    Alt-S [MENU]S
    Alt-T [MENU]T
    Alt-U [MENU]U
    Alt-V [MENU]V
    Alt-W [MENU]W
    Alt-X [MENU]FX
    Alt-Y [MENU]FMH
    Alt-Z [MENU]VZ
    Backspace [BACKSPACE]
    Ctrl-[ [ESCAPE]
    Ctrl-^ [ENTER CTRL]
    Ctrl-\ [CANCEL]
    Ctrl-] [MENU]GM
    Ctrl-A [MENU]BA
    Ctrl-B [MENU]EFF
    Ctrl-Bksp [DEL PREV WORD]
    Ctrl-C [MENU]EC
    Ctrl-Cursor-Down [NEXT PARAGRAPH]
    Ctrl-Cursor-Left [PREV WORD]
    Ctrl-Cursor-Right [NEXT WORD]
    Ctrl-Cursor-Up [PREV PARAGRAPH]
    Ctrl-D [MENU]GS
    Ctrl-Del [DEL NEXT WORD]
    Ctrl-E [VISUAL EXIT]
    Ctrl-End [MENU]GE
    Ctrl-Enter [NEXT LINE]
    Ctrl-F [MENU]SS
    Ctrl-F10 [VISUAL EXIT]
    Ctrl-F11 [T-REG COPY]
    Ctrl-F2 [MENU]SA
    Ctrl-F3 [MENU]SC
    Ctrl-F4 [MENU]WO
    Ctrl-F5 [MENU]WP
    Ctrl-F6 [MENU]WN
    Ctrl-F7 [MENU]ML
    Ctrl-F8 [MENU]ME
    Ctrl-F9 [MENU]BC
    Ctrl-G [MENU]GG
    Ctrl-H [MENU]SR
    Ctrl-Home [MENU]GB
    Ctrl-I [MENU]SI
    Ctrl-Ins [MENU]ESC
    Ctrl-J [ERASE BOL]
    Ctrl-K [ERASE EOL]
    Ctrl-L [ERASE LINE]
    Ctrl-M [RETURN]
    Ctrl-N [MENU]FN
    Ctrl-O [MENU]FO
    Ctrl-P [MENU]FP
    Ctrl-PgDn [SCREEN END]
    Ctrl-PgUp [SCREEN BEGIN]
    Ctrl-R [REPEAT]
    Ctrl-S [MENU]sr[OPTION]S
    Ctrl-Tab [NEXT TAB STOP]
    Ctrl-U [MENU]EUL
    Ctrl-V [MENU]EP
    Ctrl-W [ENTER CTRL]
    Ctrl-X [MENU]ET
    Ctrl-Y [MENU]EUR
    Ctrl-Z [MENU]EUE
    Cursor-Down [CURSOR DOWN]
    Cursor-Left [CURSOR LEFT]
    Cursor-Right [CURSOR RIGHT]
    Cursor-Up [CURSOR UP]
    Del [DELETE]
    End [LINE END]
    Enter [RETURN]
    Esc [ESCAPE]
    Esc [ESCAPE]
    F1 [HELP]
    F10 [MENU]
    F11 [T-REG INSERT]
    F12 [VISUAL EXIT] Syntax_Load("C:\VEDIT\GSI.syn") Config(PG_E_SYNTAX,Config(PG_E_SYNTAX)==0,LOCAL)
    F2 [MENU]SS
    F3 [MENU]SN
    F4 [MENU]FBS
    F5 [MENU]FBP
    F6 [MENU]FBN
    F7 [MENU]EFU
    F8 [MENU]EFI
    F9 [MENU]BS
    Home [LINE BEGIN]
    Ins [INSERT TOGGLE]
    Numpad/ [VISUAL EXIT]
    Numpad- [T-REG MOVE]
    Numpad+ [T-REG COPY]
    Numpad* [T-REG INSERT]
    Numpad.Enter [RETURN]
    PgDn [PAGE DOWN]
    PgUp [PAGE UP]
    Quick aaa[RETURN]bbb[RETURN]ccc[RETURN]
    Shft-Del [MENU]EST
    Shft-F2 [MENU]SB
    Shft-F3 [MENU]SP
    Shft-F9 [MENU]BR
    Shft-Ins [MENU]ESP
    Shft-Tab [BACKTAB]
    Tab [TAB CHARACTER]
    Ctrl-Shft-R [MENU]MQ
    Ctrl-Shft-P [MENU]MP

    Steve,

    Can you give me a simpler version of your problem, that I can try out on my Vedit 6.2?

    Thanks,

    -peter

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts