Author Topic: Initiating a command by Double Clicking Object  (Read 1742 times)

0 Members and 1 Guest are viewing this topic.

psuchewinner

  • Guest
Initiating a command by Double Clicking Object
« on: July 18, 2006, 02:38:19 PM »
Does anyone know how to initiate a command, such as a personal text editor, by double clicking a piece of text?  I suspect it has something to do with a registered application but I am not sure.  I am trying to learn so any HINTS would be helpful.

uncoolperson

  • Guest
Re: Initiating a command by Double Clicking Object
« Reply #1 on: July 18, 2006, 03:11:29 PM »

MickD

  • King Gator
  • Posts: 3637
  • (x-in)->[process]->(y-out) ... simples!
Re: Initiating a command by Double Clicking Object
« Reply #2 on: July 18, 2006, 05:05:37 PM »
Just be aware that by overriding the doubleclick event in AutoCAD you can be taking away some built in AutoCAD functionality! If you can in lisp, after processing the event pass it on for default handling if you don't want to handle it.
Cheers,
Mick.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

ELOQUINTET

  • Guest
Re: Initiating a command by Double Clicking Object
« Reply #3 on: July 18, 2006, 10:32:43 PM »
i dont know if this applies to you but in 2007 you can customize how your double click behaves via the cui. for example if i click an existing viewport it begins the mview command.

Didge

  • Bull Frog
  • Posts: 211
Re: Initiating a command by Double Clicking Object
« Reply #4 on: July 19, 2006, 04:33:39 AM »
How about using a Hyperlink instead, it needs a ' Ctrl + Click '  to access but it shouldn't screw-up Acad.
Think Slow......