When a program is moved off the main screen – maybe to a second monitor which is now no longer connected – you need a quick and easy way to move it to the current monitor. This is what I do –
Without the second monitor all you see is this, and your programs are trapped out of sight.
To see what’s hidden off-screen, hold down ALT and press TAB repeatedly. This cycles through thumbnail images of all windows even if they are off-screen or minimized. Release both keys when you highlight the window you want to rescue.
When both keys are released, the window is selected but not visible. Hold the WINDOWS (flag) key down and press the LEFT arrow key a few times until the window is visible. Release both keys.
When you release the keys, the recovered window will stay where it is, and other windows will be offered for rescue.
Mouse click on the second window you want to rescue and it will be placed next to the first.
Repeat the actions for other off-screen windows, and you’re done.
Note that you can use the WINDOWS key with the arrow keys (up, down, left, right) to park windows to any part of the screen.
Sometimes the off-screen program may be waiting for a user response, so try pressing ESCAPE or ENTER to dismiss it. If all esle fails close the program using Task Manager, then reopen it normally. If it starts off-screen, it should now recover easily.
Notepad++ is my favourite editor for Arduino sketches, but it lacks the facility to compile and upload sketches directly to the Arduino boards. The usual procedure would be to save the sketch in Notepad++, switch to the Arduino IDE then compile/upload.
However, there is a plug-in for Notepad++ which enables you to run external commands – this post describes how to set it up for the Arduino IDE.
Install the plugin
First ensure you have the latest version of Notepad++ (currently version 7.6.3) and select the menu item under ‘Plugins Admin…’.
Then select the ‘NppExec’ plugin and click install.
Set up the commands to execute
After it installs, you’ll be able to select ‘Execute…’ from the new sub-menu (or simply press ‘f6’), which will display the ‘Execute…’ dialog box.
The empty ‘Execute…’ dialog box will display.
Enter the following text into the command(s) window, ensuring the path points to your ‘arduino_debug.exe’.
set arduino_path = “C:\Program Files (x86)\Arduino\arduino_debug” npp_save inputbox “Enter the COM port of your Arduino (e.g., COM1):” cmd /c $(arduino_path) –port $(input) –upload $(full_current_path)
Pressing ‘OK’ will allow you to enter the COM port (this is shown in the Arduino IDE ‘Tools’ menu).
Press ‘OK’ and the process of compiliation and uploading will begin.
SUMMARY OF HOW TO USE IT
Open the Arduino code in Notepad++
Edit your code
Press ‘Enter’ twice
Watch the results window.
TIPS (for the Arduino IDE)
Keep the Arduino IDE open with your sketch.
In Arduino IDE select external editor (File -> Preferences -> Settings Use External editor