The reason is that I use a software where tools are activate per window. In certain situation the draw tool might be selected in a window that is currently inactive, and when re-activating that window with a mouse click, it would also draw an event in the window depending on where the mouse cursor is. Only way to prevent it is to click the window title bar.
What I would ideally want to do is to not have to first click the window title bar to activate i, and then select a tool. Instead, I'd like to use a macro that activates the window under the mouse cursor (without clicking) and selecting the tool for me.
Start by complaining to the app Devs -- clicking on an inactive window should only activate it, not do something in it (the clue's in the word "inactive" ). Sounds like a bad port of Windows software, but I doubt they'll do anything about it.
So something that'll activate the window the pointer is over... That'll depend on Nuendo returning a sensible result when you ask about its windows. Can you try the following (you'll need to set an hotkey trigger) with a Nuendo frontmost and some windows open and let us know the resulting text and how many windows there were?
Nuendo consist of several independent framed window's containing titles. These can be recognized, and I'm using the "Front Window of Front Application" condition to do several things, like choosing the proper tools, etc. So all application window's can be recognized by it's title.
I'm always using two monitors. They are always set up in the same way, but because I have workstations in several places around (where I have different equipment) the resolution of the screens are not always the same. I can set up the different workspaces so that the window in question will always have the same placement related to the top-left corner if that helps window's recognition.
The main window is called the "Project Window" and the title of that window always has the name "Nuendo Project - [project name]". I'm using the "Title Contains" condition to identify that window, and that works without issues.
I've tried fixing this in the following way: When the keyboard shortcut for a tool is pressed in Window 1, it will quickly switch to Window 2 as well and select the same tool there, and then switch back. That works "ok", except that I can't type anything in Window 1, since the tools are selected with shortcuts P and T. So I've given up on that for now.
In other DAWs (Digital Audio Workstation software), if I were to just hoover the mouse over one window and press "P", that would selected the pen tool of that window. That is not the case in Nuendo. The Window needs to be active for the shortcut to work.
A suggested solution would be: When I press "P" or "T", Keyboard Maestro would recognize which window is under the mouse cursor, then activate that window, without me having to press the title bar, then sending the shortcut for the tool to that window.
As you've already seen, a single-key hotkey trigger like "P" or "T" is generally A Bad Idea -- it's difficult, if not impossible, to replicate an app's "is this typed text or a shortcut?" decision-making process.
You should probably look to using menu items rather than keystrokes to activate the tools, if only to avoid the situation where the pointer is over a window that already has the insertion point in a text field. Running the macro in that case would bring the window to the front and type into the field -- probably not want you want.
I have tried ShowWindow(second.handle, SW_SHOWNOACTIVATE), but the mainform loses focus.If I set Visible := false on the second window, the call to ShowWindow does not activate the second form, but the windows is empty when shown...
If possible, you should considered using some sort of tool tip window to display the notification information. A tool tip will not steal focus from you main window when it is displayed or when a user clicks on it. A regular form will have a border by default and if the user clicks on that border your main form will loose focus.
I am using the code for a transparent overlay form which is created dyamically. The following code is a combination of the given answers and places the second form without activation over the parent form.
KMS is one of the legal methods to activate Microsoft Windows and Microsoft Office. Activation ensures that the software is obtained from and licensed by Microsoft. KMS is used by volume license customers, usually medium to large businesses, schools, and non-profits. Individual computers do not need to contact Microsoft, although the KMS server does. KMS clients must be activated at least once every 180 days. A KMS client will try to activate once every 7 days, and if it fails it will try again every 2 hours.
It is illegal to run Windows 10 without taking any action, so far Microsoft has admitted it. In fact, since Windows 7, Microsoft has been very flexible with its clients, if non-startups should occur.
Starting Windows 10 makes it basic because you are misusing one part of the license. Along with these letters, there is a chance later that Microsoft has banned many prominent highlighting doors or off-chance on your computer that you keep running inactive Windows.
I'm a new Mac user, having been issued with a MacBook Pro when I started a new job three months ago. A Windows and Linux user before, I'm now getting quite used to the differences with using Apple's desktop environment.
For example, if I have two browser windows open side by side with the left one active, it takes two clicks to follow a link in the right hand window: one to make the window active, one to click the link.
A similar issue is trying to copy and paste text between windows. I can select and copy text in an active terminal or editor, then paste it into another with 'right-click, Paste' but that doesn't activate the window. I still need to left-click the window to activate it before I can type into it.
In Windows and Linux, the right-click to paste would also activate the window. If I was pasting a command into a terminal, I could then just hit Enter to run it, whereas an extra mouse click is required on my Mac. This feels a little cumbersome.
You can set it up so focus-follows-mouse is the default system behavior and you will get what you're looking for. I was frustrated with this too, coming from Windows. However, I've been using this for the past 3 months and honestly I'd go crazy without it now. Highly recommend it.
On Windows and Linux, quite everything which is relevant to a window, to its underlying application, is enclosed within the subject window. Prime example: the menu bar, which is in the window. On macOS, the active window finds its menu bar on top of the screen, not in the window (except a few old oddities), an active process could possibly impact or be acknowledged outside its representative window.
Thus I doubt the required switch is implemented in the user interface of MacOS or that it can be used in the underlying unix layer. I further doubt that implementing it would be feasible as long as the screen-top menu belongs to the active process. Just my 2c.
I came across this procedure on another website and tried it on my own machine that had Windows 7 Pro installed in order to verify that it works. This allows you to do a clean installation of Windows 10 using one of the .iso files available from Microsoft, skipping the upgrade process entirely, and ending up with a clean installation of Windows 10 that is activated as soon as you go online.
1.) In order to do this, your current Windows 7/8/8.1 installation must have a valid activation status. No ifs, ands, or buts.
2.) Before proceeding, you must run Windows Update and make sure your system is completely up to date.
3.) Before proceeding, I suggest running sfc /scannow and chkdsk c: in order to verify that there are no corrupted/missing system files and no corruption of the filesystem.
3.) Before proceeding, I suggest creating a backup image of your current system just in case things go wrong, or if you decide that Windows 10 is not really for you and want to go back to using your previous Windows OS.
4.) Go here: -us/software-download/windows10ISO and download the Windows 10 .iso that you will use to create your installation media. It's up to you to choose the correct version that corresponds to your current Windows 7/8/8.1 installation.
5.) You can either burn the image to a DVD or create a bootable USB flash drive using Rufus.
6.) Here is the first vital step: After you've created your installation media, there is a file you must copy from there to your current installation and use it to transfer your activation status between systems. Open your installation media using File Explorer, find the folder "Sources", then locate the file "gatherosstate.exe". Copy this file from there to either the Desktop or the Downloads folder of your currently installed system.
Now right click gatherosstate.exe and run it as Administrator. Doing this will generate a new file "GenuineTicket.xml". Save this file to either a SDHC card or a USB flash drive. This is the file that will activate your new installation of Windows 10.
8.) Here is the second vital step: Open File Explorer and check the box "Show hidden items". Now copy the file GenuineTicket.xml from where you saved it to the folder "GenuineTicket" found in this path:
Even without doing all the copy & saving of the Genuine Ticket file, Windows 10 will always activate if you are coming from an already activated Win7 or 8 version, and that's despite whether you are upgrading or clean installing.
mta you are correct, "once one has performed a standard conventional upgrade" and activation has been completed, then if one performs a "clean install" of Win 10 (as I mentioned in a previous post) automatic activation is completed via the MS data base activation servers when on-line. This I have done several times now.
59fb9ae87f