"select range" inside of macros

"select range" inside of macros

3
NewbieNewbie
3

    Jun 27, 2005#1

    Is there a way to do a select range inside of a macro.. where you specify line start, line end, column start, column end? The only way I could do the equivalent was with a lot of arrow keystrokes, which seems very awkward. Any help is appreciated :)

    Thanks,
    Wes

    46
    Basic UserBasic User
    46

      Jun 28, 2005#2

      Hi wfreeman,

      I'm affraid not. There is no IfLineNumGt in the macro language to test
      line numbers (perhaps some one know how to do this). You can suggest
      IDM to improve the macro language with new instructions.
      Never forget: "Above the clouds, The sky is blue and the sun shine"

      6,686585
      Grand MasterGrand Master
      6,686585

        Jun 28, 2005#3

        Yes, there is no select range command. You can do the select only with the keys. Use Loops. Example:

        ColumnModeOff
        Top
        Loop 30
        Key DOWN ARROW
        EndLoop
        Loop 20
        Key RIGHT ARROW
        EndLoop
        ColumnModeOn
        StartSelect
        Loop 50
        Key DOWN ARROW
        EndLoop
        Loop 15
        Key RIGHT ARROW
        EndLoop
        EndSelect

        Should be clear, what this macro does.
        Best regards from an UC/UE/UES for Windows user from Austria

        3
        NewbieNewbie
        3

          Jun 28, 2005#4

          Thanks guys..

          Wes