Hi, when I try to edit a script Unity gives me this error: Unable to open C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll: Check external application preferences.
Look for the extension, the characters after the final period. If you see dll, it means you're accessing a precompiled library - you'd have to reverse engineer it. If you see cs, then you need to check your Edit/Preferences/External Tools/External Script Editor. On my Windows System, I select Visual Studio from the dropdown and check that it's attached.
You were adding the script the wrong way and you added a Base Input instead of adding a C# script. Go to (Project view) Create > C# script. If you want to attach it to a game object, just drag it (from the assets view) over an object (in the hierarchy view).