Message 1 of 40
Switch focus to another program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello guys, how are you?
Today I'm writing to see if you can help me with this question I have.
Is there a way to change focus using AutoLISP or Visual LISP to change the program currently being used?
For example:
I need to select some lines in AutoCAD. Once they're selected, you don't have to do anything else. Then you switch to another program that's already open, because this program works on the lines selected in AutoCAD.
I know how to select the lines; what I don't know is how to switch to the other open program.
If anyone could help me with this, I'd appreciate it.
Regards.
Excuse my English, I only speak Spanish.
AutoCAD 2026.1.1
Visual Studio Code 1.105.1
AutoCAD AutoLISP Extension 1.6.3
Windows 10 - 22H2 (64 bits)