Undo Redo Undo Redo

Discussion in 'AutoCAD' started by stephen4444, Jan 12, 2005.

  1. stephen4444

    stephen4444 Guest

    anyone know how to switch between undo and redo with the same keyboard shortcut. Basically same as type undo then redo then undo then redo...
     
    stephen4444, Jan 12, 2005
    #1
  2. stephen4444

    Rudy Tovar Guest

    Just setup a variable...

    (if (= toggle_undoredo 1)
    (progn
    (command "redo"...)
    (setq toggle_undoredo nil)
    )
    (progn
    (command "undo"...)
    (setq toggle_undoredo 1)
    )
    )
     
    Rudy Tovar, Jan 12, 2005
    #2
  3. stephen4444

    stephen4444 Guest

    Thanks !
     
    stephen4444, Jan 12, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.