<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Switch focus to another program in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13378340#M2007</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11054766"&gt;@autoid374ceb4990&lt;/a&gt;&amp;nbsp;I think your missing the request its not open an existing application its jump to that already open application to do something. I did my testing with Excel and had no problems talking to Excel like maximize it, but I could not jump to it and make it the current on top window, but I could make Cad current and on top. I spent a fair amount of time looking into powershell which had stuff like make current window but I could not get a bat or shell function to work when called from CAD.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 02:46:41 GMT</pubDate>
    <dc:creator>Sea-Haven</dc:creator>
    <dc:date>2025-03-19T02:46:41Z</dc:date>
    <item>
      <title>Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371274#M1990</link>
      <description>&lt;P&gt;Hello guys, how are you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today I'm writing to see if you can help me with this question I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to change focus using AutoLISP or Visual LISP to change the program currently being used?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I know how to select the lines; what I don't know is how to switch to the other open program.&lt;BR /&gt;If anyone could help me with this, I'd appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;BR /&gt;Excuse my English, I only speak Spanish.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 13:37:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371274#M1990</guid>
      <dc:creator>carlos_m_gil_p</dc:creator>
      <dc:date>2025-03-14T13:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371766#M1991</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2573929"&gt;@carlos_m_gil_p&lt;/a&gt;&amp;nbsp; is using Window's own ALT+TAB function not a viable option?&lt;/P&gt;&lt;P&gt;Or the Windows taskbar tabs?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 18:02:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371766#M1991</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2025-03-14T18:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371799#M1992</link>
      <description>&lt;P dir="ltr"&gt;If app is started using lisp you can try these minimize and then maximize functions on that app to bring that app on top as mentioned here&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cadtutor.net/forum/topic/86226-returning-focus-to-excel-after-lisp-ends/" target="_blank" rel="noopener"&gt;https://www.cadtutor.net/forum/topic/86226-returning-focus-to-excel-after-lisp-ends/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(vla-put-windowstate (vlax-get-acad-object) acMin)
(vla-put-windowstate excelApp acMax)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 18:01:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371799#M1992</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-03-16T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371828#M1993</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp;how are you? Thanks for responding.&lt;BR /&gt;I'm currently doing that, but I wanted to see if it could be done directly from Lisp.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 18:48:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371828#M1993</guid>
      <dc:creator>carlos_m_gil_p</dc:creator>
      <dc:date>2025-03-14T18:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371843#M1994</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;how are you? Thanks for responding too.&lt;BR /&gt;In this case, I wouldn't need to minimize the window because the other program's window is small.&lt;BR /&gt;I had seen that post, but since it refers to Excel, I didn't find much sense in what I'm trying to do.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 18:58:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13371843#M1994</guid>
      <dc:creator>carlos_m_gil_p</dc:creator>
      <dc:date>2025-03-14T18:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372114#M1995</link>
      <description>&lt;P&gt;Perhaps, Diminish Acad's window, and the other open program, so they are side-by-side.&lt;/P&gt;&lt;P&gt;In Acad, select / copyclip, in other program, paste ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 22:52:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372114#M1995</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2025-03-14T22:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372121#M1996</link>
      <description>&lt;P&gt;I do not know if this will work the newer versions of AutoCAD, but here is how I did it in R14.&lt;/P&gt;&lt;P&gt;Lets say you want to run a program named "Blender.exe".&lt;/P&gt;&lt;P&gt;Create a batch file named bl.bat with two lines of code.&lt;/P&gt;&lt;P&gt;1st line: &amp;nbsp; &amp;nbsp; "cd\path name\" &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path name is the path to the blender.exe program. Don't type the quotes&lt;/P&gt;&lt;P&gt;2nd line:&amp;nbsp;&amp;nbsp;&amp;nbsp; "blender" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; blender is the name of the .exe program you want to run. Don't type the quotes&lt;/P&gt;&lt;P&gt;So the batch file will look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cd\program files\blender&lt;/P&gt;&lt;P&gt;blender&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save the bl.bat file in the folder which is the default folder when AutoCAD is running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the command line type&amp;nbsp; (command&amp;nbsp; "._shell" "bl")&amp;nbsp; and see if the program runs.&amp;nbsp; If so, add this line to your LSP code when you want it to run the other program.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 22:59:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372121#M1996</guid>
      <dc:creator>autoid374ceb4990</dc:creator>
      <dc:date>2025-03-14T22:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372252#M1997</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;thanks for responding.&lt;BR /&gt;Of course, I can have them nearby, but I usually use several programs at the same time, which is why I use Alt + Tab.&lt;BR /&gt;In Acad, I only select the entities. When I go to the other program, it has commands. When you activate one, it modifies the entities previously selected in Acad.&lt;BR /&gt;The interesting thing about this is seeing how it can also be used for other programs. Many people work with Excel or other types of programs, and this can also be very helpful.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 02:27:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372252#M1997</guid>
      <dc:creator>carlos_m_gil_p</dc:creator>
      <dc:date>2025-03-15T02:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372276#M1998</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11054766"&gt;@autoid374ceb4990&lt;/a&gt;&amp;nbsp;thanks for your help.&lt;BR /&gt;I tried it, but it doesn't switch focus between programs.&lt;BR /&gt;Because it sends it to open and only flashes on the taskbar.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 02:47:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372276#M1998</guid>
      <dc:creator>carlos_m_gil_p</dc:creator>
      <dc:date>2025-03-15T02:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372713#M1999</link>
      <description>&lt;P&gt;You might try it manually.&amp;nbsp; Use the SHELL command and see if you get a stable command window, then navigate to the program folder and enter the program name.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 12:53:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372713#M1999</guid>
      <dc:creator>autoid374ceb4990</dc:creator>
      <dc:date>2025-03-15T12:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372981#M2000</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2573929"&gt;@carlos_m_gil_p&lt;/a&gt;&amp;nbsp;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Can you&amp;nbsp;elaborate more on that?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;what is the other program you are switching to?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;how exactly the selected objects are recognized by the other program?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;As far as i know there is 2 options an external program can recognize objects:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;1. clip borad&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;2. write out the handles of the selected objects.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;are you using the above?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333300"&gt;&lt;SPAN&gt;Moshe&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 19:02:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372981#M2000</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2025-03-15T19:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372998#M2001</link>
      <description>&lt;P&gt;Maybe in Acad, you can set a Function Key - say F4 to simulate a Alt-Tab sequence.&lt;/P&gt;&lt;P&gt;I know in R14 you could redefine those Keys, except F1. Maybe Google it.&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 19:22:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13372998#M2001</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2025-03-15T19:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13373127#M2002</link>
      <description>&lt;P&gt;I read write Excel all the time and went around in circles trying to figure out how to jump to Excel from CAD, I used a Alert to stop the CAD which asked go to the Excel, do something then go back to CAD and press Ok on the alert to keep going. I tried Powershell options but&amp;nbsp; could not find anything that could be called from CAD, I say CAD as I use Bricscad for testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;the acmax just sets the Excel to maximum size not make it the current window. When used the Excel just maximises but it is not at front I still have other windows over the top of it. I found some help&amp;nbsp;&lt;A href="https://help.autodesk.com/view/ACDLT/2024/ENU/?guid=GUID-BCE7E749-DCCB-4914-9E52-CC1265A3574F" target="_blank" rel="noopener"&gt;AutoCAD LT 2024 Help | About Controlling the Application Window (ActiveX) | Autodesk&lt;/A&gt;&amp;nbsp;the widowtop I think is what I want but does not work with my Bricscad. Returns windowtop not available. Acmax works.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;vla&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;put&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;WindowTop&lt;/SPAN&gt;&lt;SPAN class=""&gt; myxl &lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;A bit more testing it looks like problem is in call windowtop as a function of Excel as Acmax works fine, widow top when calling acadobj works.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 04:35:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13373127#M2002</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-03-16T04:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13373846#M2003</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2573929"&gt;@carlos_m_gil_p&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;"I tried it, but it doesn't switch focus between programs.&lt;BR /&gt;Because it sends it to open and only flashes on the taskbar.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;You might also try putting a PAUSE command in the BAT file just to see if the BAT file is working correctly, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAUSE&lt;/P&gt;&lt;P&gt;cd\program files\blender&lt;/P&gt;&lt;P&gt;PAUSE&lt;/P&gt;&lt;P&gt;blender&lt;/P&gt;&lt;P&gt;PAUSE&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 17:07:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13373846#M2003</guid>
      <dc:creator>autoid374ceb4990</dc:creator>
      <dc:date>2025-03-16T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13375064#M2004</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2573929"&gt;@carlos_m_gil_p&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...I'm currently doing that, but I wanted to see if it could be done directly from Lisp.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;BUT... you'll have the exact same challenge/problem in all the other programs too, will you not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do you only ever want to jump once in a while to another program in AutoCAD but never go back?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AKA you need a quicker OS solution, not a "lisp only in AutoCAD to use one way" solution. Or third party like this and a dozen others&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/sigoden/window-switcher" target="_blank" rel="noopener"&gt;https://github.com/sigoden/window-switcher&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.microcenter.com/site/mc-news/article/win-11-switch-apps.aspx#:~:text=Virtual%20Desktops%3A%20Windows%20Key%20%2B%20CTRL%20%2B%20D" target="_blank"&gt;https://www.microcenter.com/site/mc-news/article/win-11-switch-apps.aspx#:~:text=Virtual%20Desktops%3A%20Windows%20Key%20%2B%20CTRL%20%2B%20D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy Cadding!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 12:09:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13375064#M2004</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2025-03-17T12:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13375247#M2005</link>
      <description>&lt;P&gt;Hello, how are you?&lt;BR /&gt;Thanks everyone for your comments.&lt;BR /&gt;So far, I haven't found a direct solution.&lt;BR /&gt;In this case, the program you want to focus on isn't relevant.&lt;BR /&gt;Well, I don't need to go back, just go to a specific one.&lt;/P&gt;&lt;P&gt;Because I don't need to copy and paste, just go to the program.&lt;BR /&gt;I tried the option autoid374ceb4990 gave me, but it tends to open the program and not focus on it.&lt;BR /&gt;I also found this other option in a batch file, but I don't understand why you have to pause it; otherwise, it won't work.&lt;BR /&gt;And it doesn't make sense to keep clicking OK on the Shell window to do it.&lt;BR /&gt;So far, using Alt+Tab is still the best option.&lt;BR /&gt;I don't know if you can add the batch text directly to the Shell command to see how it works, but I don't know how to do it; I'm not that experienced.&lt;BR /&gt;In this case, I'm testing it with Notepad, but it's worked for me with different programs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Powershell -command "$wshell = New-Object -ComObject wscript.shell ; $wshell.AppActivate('notepad')"&lt;/P&gt;&lt;P&gt;pause&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 13:41:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13375247#M2005</guid>
      <dc:creator>carlos_m_gil_p</dc:creator>
      <dc:date>2025-03-17T13:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13375374#M2006</link>
      <description>&lt;P&gt;I suggested adding the The PAUSE commands just to see the&amp;nbsp; if the commands in the batch file were being executed properly.&amp;nbsp; If the batch file worked correctly with the PAUSE commands, just remove the PAUSE commands.&lt;/P&gt;&lt;P&gt;You can add to the SHELL command, for example:&amp;nbsp; ( command "Shell" "notepad") will run the Windows NOTEPAD program.&lt;/P&gt;&lt;P&gt;What is the full name of the program you are trying to run, including the extension, like EXE, COM, BAT?&lt;/P&gt;&lt;P&gt;What is the full path to the program you are trying to run into which you are transferring the AutoCAD data?&lt;/P&gt;&lt;P&gt;Please post the BAT file that you created.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 20:27:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13375374#M2006</guid>
      <dc:creator>autoid374ceb4990</dc:creator>
      <dc:date>2025-03-17T20:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13378340#M2007</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11054766"&gt;@autoid374ceb4990&lt;/a&gt;&amp;nbsp;I think your missing the request its not open an existing application its jump to that already open application to do something. I did my testing with Excel and had no problems talking to Excel like maximize it, but I could not jump to it and make it the current on top window, but I could make Cad current and on top. I spent a fair amount of time looking into powershell which had stuff like make current window but I could not get a bat or shell function to work when called from CAD.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 02:46:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13378340#M2007</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-03-19T02:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13379254#M2008</link>
      <description>&lt;P&gt;I understand what you are saying, but with my old R14 version working in 64 bit Windows 7, the batch file approach that I suggested works just fine with the Blender program.&amp;nbsp; It jumps right to the top whether it is open not. Also works with Wordpad, Notepad, Word, Excel.&amp;nbsp; Did you try the batch file approach with Excel?&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13375247/highlight/true#M480078" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;I would still be interested in knowing what program the OP&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;is using to utilize the AutoCAD data and how the data is transferred.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 12:43:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13379254#M2008</guid>
      <dc:creator>autoid374ceb4990</dc:creator>
      <dc:date>2025-03-19T12:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Switch focus to another program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13379528#M2009</link>
      <description>&lt;P&gt;Hi, how have you been?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11054766"&gt;@autoid374ceb4990&lt;/a&gt;&amp;nbsp;The program I use is Cadisi, which is for tensile structures, but it's very old and no longer available, which is why I didn't emphasize the name.&lt;BR /&gt;When I try your option, it always opens a new Blender and doesn't jump to the one already open.&lt;/P&gt;&lt;P&gt;I don't know the Excel batch method.&lt;/P&gt;&lt;P&gt;And the bat that I put, only the name of the program is changed, instead of being notepad, the one that is needed is put.&lt;BR /&gt;I use Windows 10 64-bit and AutoCAD 2025.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;Thank you so much for taking the time to look at this.&lt;/P&gt;&lt;P&gt;I've tried this too, but it's not easy.&lt;BR /&gt;So far, Alt+Tab is still the best option.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:46:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/switch-focus-to-another-program/m-p/13379528#M2009</guid>
      <dc:creator>carlos_m_gil_p</dc:creator>
      <dc:date>2025-03-19T14:46:07Z</dc:date>
    </item>
  </channel>
</rss>

