AngelSix Blog

Software, Hardware and anything else

Twitter at AngelSix Open Source efforts at angelsix

Quicker way to Open As Admin text files

I am sure as a developer at some point you have had to open a configuration file, text file or system file such as the hosts file, some program files xml or json file, or like me recently some code snippet files in Visual Studio.

I am guessing the quickest way you have found to do that is pressing the Windows key, then typing Notepad then right-clicking, Run As Administrator and finally opening the file that way. Right?

Well, I hate long-winded ways to do simple tasks so I found a really easy cheat to do it quicker.

Usually you find yourself in the situation where you are already browsing for the file and have it in sights


Then you right-click and edit with your favorite editor, edit and save… only to find it fails to save due to permission denied.


So then you do the above mentioned steps of closing the editor, re-opening of your text editor as administrator, browsing to the file location all over again and re-opening the file.

Well no more. Let me introduce you to my quick hack.

  1. Press Win + R to open Run… then type %APPDATA%\Microsoft\Windows\SendTo and press Enter to open the SendTo folder.

  2. Create a shortcut of whatever text editor you like by going to it’s install path such as C:\Program Files\Microsoft VS Code then right-clicking the application and selecting Create Shortcut

    Create Shortcut

  3. Right-click the new shortcut and select Properties. In Advanced check Run As Administrator

    Create Shortcut

  4. Move this shortcut to the SendTo folder opened in step 1

    Create Shortcut

Now whenever you want to edit a file that needs administrator privileges it is as simple as browsing to the file, right-clicking and selecting Send To... and selecting your editor.

Create Shortcut

Read more

Slim Windows 10 Start Menu

In my continued efforts to clean up the Windows 10 UI another thing that has annoyed me since it’s release is the oversized, over-invasive start menu with all of its Pictures, Calendar, Games I Never Installed and other advertising and details about my machine and account showing every time I just open the start menu.

So this is what it usually looks like (I’ve cleaned mine up some already at this point):

Windows 10 Start Menu

So cleaning this up is pretty easy, but yet many people don’t realize you can. Open the start menu then right-click on any item and click Unpin from Start

Unpin from Start

Once you have unpinned all items, close and re-open the start menu and now you have a nice slim menu :+1:

Slim Start Menu

Read more

Slack Dark Theme

As many of you who follow what I do will know, I like things dark. I don’t like the white glare of a computer screen.

I am sure at least some of you use Slack for your work communications? If not I strongly recommend you check it out.

The only down-side is it doesn’t yet have a dark theme. So looking around the internet I found plenty of ways to do it by just editing the Electron app javascript files and injecting a custom css sheet.

So, in order to do this now before Slack officially supports it, do the following:

document.addEventListener("DOMContentLoaded", function() {

   // Then get its webviews
   let webviews = document.querySelectorAll(".TeamView webview");

   // Fetch our CSS in parallel ahead of time
   const cssPath = '';
   let cssPromise = fetch(cssPath).then(response => response.text());

   // Insert a style tag into the wrapper view
   cssPromise.then(css => {
      let s = document.createElement('style');
      s.type = 'text/css';
      s.innerHTML = css;

   // Wait for each webview to load
   webviews.forEach(webview => {
      webview.addEventListener('ipc-message', message => {
         if ( == 'didFinishLoading')
            // Finally add the CSS into the webview
            cssPromise.then(css => {
               let script = `
                     let s = document.createElement('style');
                     s.type = 'text/css';
            = 'slack-custom-css';
                     s.innerHTML = \`${css}\`;



Read more

Why are you here?

For those of you who already know me, you probably know I have a YouTube channel.

That has generated a lot of interest and I get a lot of questions :question:, comments and requests now. Some things are small, simple and really don’t warrant a full video being made.

Read more