orsonk Posted June 15, 2017 Report Share Posted June 15, 2017 Just tried something I thought would be simple: Using Activate Window to bring an already-open app window to the front. Not working. Any insights would be appreciated. Thanks. Orson Quote Link to comment Share on other sites More sharing options...
Cory Posted June 15, 2017 Report Share Posted June 15, 2017 Is the program a UWP app (Windows Store) or a conventional WinAPI program? Quote Link to comment Share on other sites More sharing options...
orsonk Posted June 15, 2017 Author Report Share Posted June 15, 2017 Hi Cory, I suspect it's a conventional app. Not sure. It's CintaNotes (very useful note-taking application). It has multiple windows you open, and maybe that's part of the problem. Orson Quote Link to comment Share on other sites More sharing options...
acantor Posted June 16, 2017 Report Share Posted June 16, 2017 When inserting the Window Activate command, click the "Browse" and select the specific CintaNotes windows you want to activate. Then set the "window title" drop down to "Exact Match." Save the macro and test. If it works, edit the command to work more generally. For example, if the window title is "CintaNotes - Document001" but you want it to work for Document 001, 002, 003, etc., delete "001" and then change the drop down to "Partial Match." Quote Link to comment Share on other sites More sharing options...
Cory Posted June 16, 2017 Report Share Posted June 16, 2017 Exactly what acantor said. If it's MDI you might have some issues. In some cases the 'documents' can exist outside the parent window. But technically they're still part of that parent window. Also if there are multiple windows with the same title it can get difficult. I had that problem with Outlook. But look and see what you see when you browse and we will take it from there. Quote Link to comment Share on other sites More sharing options...
orsonk Posted June 16, 2017 Author Report Share Posted June 16, 2017 Thanks, acantor and Cory. In the end, I think my keyboard shortcut might have been the issue. I might have picked a keyboard shortcut that was already being used for something else. I changed it, and the macro is working now! Thanks again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.