This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
title New windows for external links, for Vivaldi browser - by noamnotyou | |
set workdir=%temp%\noamnotyou | |
set errmsg="Unknown" | |
set args=-- | |
set nw=--new-window | |
set im=-incognito | |
echo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
prompt $G | |
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | |
if %errorlevel% neq 0 ( | |
set endmsg=This script can only work if ran as admin. Aborting... | |
goto end | |
) | |
echo Make sure Visual Studio is closed before you continue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Drawing; | |
// Note: this won't work if "lock cursor to current monitor" is enabled, so if like me you don't like having the mouse go to next monitor when you're trying to | |
// click a corner or edge, you can align the monitors diagonally and only use hotkeys to move the mouse between monitors. | |
// Made by Noam Schvetz (noamnotyou) | |
public static class DisplayFusionFunction { |