Hit F6
Category Archives: Windows
How to start a powershell snipped?
PowerShell path\SloppyFocusFollowsMouse.Ps1
Run a powershell script
First open a powershell window and enable script execution
- Restricted ? Stops any script from running.
- RemoteSigned ? Allows scripts created on the device, but scripts created on another computer won’t run unless they include a trusted publisher’s signature.
- AllSigned ? All the scripts will run, but only if a trusted publisher has signed them.
- Unrestricted ? Runs any script without any restrictions enter this and answer A for All:
Set-ExecutionPolicy RemoteSigned
Now you can execute the scrip by entering it with the “invoke operator” (&) in front
& SloppyFocusFollowsMouse.ps1
Sloppy focus-follows-mouse in Windows?
Run this in powershell
$signature = @”
[DllImport(“user32.dll”)]
public static extern bool SystemParametersInfo(int uAction, int uParam, ref int lpvParam, int flags );
“@
$systemParamInfo = Add-Type -memberDefinition $signature -Name SloppyFocusMouse -passThru
[Int32]
$newVal = 1
$systemParamInfo::SystemParametersInfo(0x1001, 0, [REF]$newVal, 2)
Edit powershell snippets in windows?
Integrated Script Editor (ISE)
https://learn-powershell.net/2013/04/08/creating-snippets-in-powershell/
How to get your external IP from terminal/cmd
Linuxdig +short myip.opendns.com @resolver1.opendns.com
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com
curl checkip.amazonaws.com
Windowsnslookup myip.opendns.com. resolver1.opendns.com
curl checkip.amazonaws.com
How to configure and Test 5.1 Surround sound on Windows 10
https://appuals.com/how-to-configure-and-test-5-1-surround-sound-on-windows-10/
Helicopter surround sound demo youtube
https://www.youtube.com/watch?v=BDtVmf-t80A
Fix Windows 10 5.1 surround problem
How to un-associate a file to NO application without choosing another application?
- create a new textfile.txt,
- change the extention .txt to .exe, choose accept changes
- go to property in the file you wanna change the default app assocition to
- Choose the textfile.exe
- change back the extention of the textfile.exe to .txt and accept the changes.
- Now the association is broken for the original file and it is set to NO assosiation.
- Ref: https://answers.microsoft.com/en-us/windows/forum/windows_10-files/how-to-unsetremove-a-default-app-for-file-type/15f2bf57-aa96-493a-b648-c81856af5eb3
How can I show thumbnails in explorer of SVG files?
There is this explorer extention:
https://github.com/tibold/svg-explorer-extension/releases