Overclock.net banner

1 - 18 of 18 Posts

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #1 ·
Would you like Windows to ask you if you're sure before you open any shortcut, just like this?

ConfirmScript.png


It can be any shortcut that you have, even pinned items on the Taskbar (but not pinned items on the Start Menu). If would like this, then the first thing you need to do is right-click the link below and save it as a file to your computer:

http://home.comcast.net/~twocables/Confirm.vbs

In Firefox: right-click and choose "Save Link As...."

In Internet Explorer: right-click and choose "Save target as..."

In Google Chrome: right-click and choose "Save link as..."

For the sake of simplicity, save this to the root of your C: drive. That means the path to the file will be C:\Confirm.vbs.

Now, right-click any shortcut that you want to do this to and choose Properties. For pinned items on your Taskbar, hold down Shift while you right-click (and then choose Properties). You will see something like this:

Properties.png


As you can see, the text in the "Target" field is already selected. We want to put "C:\Confirm.vbs" at the very beginning of this, so press the Home key on your keyboard. Or, press and hold the Left Arrow key until you get the cursor all the way to the beginning. Or, click somewhere in the "Target" field and then press Home or hold down the Left Arrow key.

After that, you should have a blinking cursor just to the left of "C:\Program Files etc. etc. etc.". Now, type C:\Confirm.vbs with a space after it so that it looks like this:

Properties2.png


Now, click OK and you are all done. So now the next time you try to open this shortcut, you'll see this:

ConfirmScript.png


Oh, and one more thing: you can add "C:Confirm.vbs" to as many shortcuts as you want! This one script works for an infinite number of them. You can even edit the script to change "Do you REALLY want to open this?" to be whatever you want. You can also change this message box's window title from "Are you sure?" to be anything you want. Just ask me how and I will show you!

So TwoCables, why would I want this? I would hate it!

Well, I have 25 things pinned to my Taskbar using Small Icons with the extra space between them removed (thanks to 7+ Taskbar Tweaker) and sometimes my mouse aim isn't exactly precise. Some of these things are programs or games that take a while to open and some of those take a while to close as well. So, it's nice to be able to just quickly tap the Esc key as a way to say, "No. Don't open. That was a mis-click".

Other times, I might click on a Taskbar item to open something and then realize after clicking it that I'm not ready to open it quite yet, or I might have just changed my mind. So, you don't do this to ALL of your shortcuts. You just do it to the ones where you would appreciate it if Windows would always ask you first if you really want to open it before it actually gets launched. For me, that's most of my Taskbar items. For you, it could just be 1 shortcut. As long as you're 100% satisfied, then that's all that matters.

Having said that, this definitely is not for everyone. So, please don't tell me that you'd never use this and that you think it's useless. Just because that's true for you, it doesn't mean that it has to be true for everyone. ;)
 
  • Rep+
Reactions: Techie007

·
Registered
Joined
·
669 Posts
Interesting, thanks for sharing. I'd never use it though, for whatever reason I just don't like things pinned to the taskbar.
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #3 ·
Quote:
Originally Posted by Bearybear View Post

Interesting, thanks for sharing. I'd never use it though, for whatever reason I just don't like things pinned to the taskbar.
This is for any shortcut really. That's all pinned items are (at least like 99% of them are). So, if you have any shortcuts that you sometimes accidentally open, or shortcuts that you just want Windows to ask you if you're sure before it actually gets launched, then this is for that too. I admit that for me, this is simultaneously for items I accidentally open, and items where I suddenly change my mind a split-second after clicking. For programs or games that take several seconds to open, this can be quite irritating.

Anyway, I'm currently in the process of trying to make some videos to show how to do this for Taskbar Pinned Items, Start Menu Pinned Items, and just the common shortcut. It's not as easy as I thought it would be. I keep having bad takes. lol
 

·
Premium Member
Joined
·
10,774 Posts
You could also provide a custom implementation of IShellLink that provides this "confirmation", implement IPersistFile on it (requirement) and create a shell extension to create shortcuts and make the whole thing appear native to Windows
biggrin.gif
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #5 ·
Quote:
Originally Posted by tompsonn View Post

You could also provide a custom implementation of IShellLink that provides this "confirmation", implement IPersistFile on it (requirement) and create a shell extension to create shortcuts and make the whole thing appear native to Windows
biggrin.gif
Would that mean that every shortcut created would have this forced on it? Or, would it be an option at the creation of each shortcut?

How about pinning items to the Taskbar or Start Menu?
 

·
Premium Member
Joined
·
10,774 Posts
Quote:
Originally Posted by TwoCables View Post

Would that mean that every shortcut created would have this forced on it? Or, would it be an option at the creation of each shortcut?

How about pinning items to the Taskbar or Start Menu?
No it wouldn't. The shell extension adds a new menu option to create one of these shortcuts. And its all IShellLink so pinning to task bar or start menu works the same.

Mind you this is no easy task
tongue.gif
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #7 ·
Quote:
Originally Posted by tompsonn View Post

No it wouldn't. The shell extension adds a new menu option to create one of these shortcuts. And its all IShellLink so pinning to task bar or start menu works the same.

Mind you this is no easy task
tongue.gif
See, that's what I like about this. It's extremely easy. I mean, all you really have to do is create the .vbs script file, copy/paste the script code into it, save it,, put the path and filename of the script in the Target box in a shortcut's properties (prefix it), and you're done. Of course, one also needs to know that if the path OR the filename (or both) has even ONE SPACE in it, then quotation marks must be placed around both the path and filename of the .vbs script. Still. It's very simple and even very easy. The list of instructions are long and detailed, but I'm trying to simplify it with 3 videos: one for Pinned Items on the Taskbar, one for Pinned Items on the Start Menu, and then one for common shortcuts. It's proving to be quite difficult for me though because I keep having bad takes that I just can't accept.
 

·
Premium Member
Joined
·
10,774 Posts
Quote:
Originally Posted by TwoCables View Post

See, that's what I like about this. It's extremely easy. I mean, all you really have to do is create the .vbs script file, copy/paste the script code into it, save it,, put the path and filename of the script in the Target box in a shortcut's properties (prefix it), and you're done. Of course, one also needs to know that if the path OR the filename (or both) has even ONE SPACE in it, then quotation marks must be placed around both the path and filename of the .vbs script. Still. It's very simple and even very easy. The list of instructions are long and detailed, but I'm trying to simplify it with 3 videos: one for Pinned Items on the Taskbar, one for Pinned Items on the Start Menu, and then one for common shortcuts. It's proving to be quite difficult for me though because I keep having bad takes that I just can't accept.
I might give my method a go
wink.gif
I'm fairly bored.
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #9 ·
Quote:
Originally Posted by tompsonn View Post

I might give my method a go
wink.gif
I'm fairly bored.
Good luck, but it sounds like you know what you're doing. Me? I don't know what you said, really.
 

·
Windows Wrangler
Joined
·
2,252 Posts
You know, an even easier way to do this would be to add a context menu item (fairly simple Registry edit) to shortcut files for "Ask before opening". Associate it with a script that will rename the shortcut's extension from ".lnk" to ".lnkc". Create a file association for ".lnkc" files that opens with the confirmation script. And then add a context menu item to ".lnkc" files for "Stop asking for confirmation" that points to a script that will rename the ".lnkc" file back to ".lnk".

The only problem I possibly forsee with this is Windows not showing ".lnkc" files on the taskbar thinking that they are not shortcuts. Tompsonn, your thoughts on this?
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #11 ·
I would need someone to write that script for me. With this, I already have the script and so all I have to do is prefix the path and file name of that script to the Target and I'm all set. For me, it couldn't be any easier than that. I'm must making it look harder than it really is because I'm trying to make sure that even novices can't screw it up.
 

·
Registered
Joined
·
669 Posts
Thought this tool might interest you, at the bottom left of the screenshot you can see the option to make pinned items require a double click to open rather than a single click. I'd assume it makes it harder to accidentally start the programs whilst at the same time it doesn't become an annoying inconvenience of locating and clicking "yes, just forking launch it!" buttons.

http://rammichael.com/7-taskbar-tweaker
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #13 ·
Quote:
Originally Posted by Bearybear View Post

Thought this tool might interest you, at the bottom left of the screenshot you can see the option to make pinned items require a double click to open rather than a single click. I'd assume it makes it harder to accidentally start the programs whilst at the same time it doesn't become an annoying inconvenience of locating and clicking "yes, just forking launch it!" buttons.

http://rammichael.com/7-taskbar-tweaker
I don't use the mouse to click Yes. I just tap the Enter key on my keypad with my thumb. :) My hand barely leaves my mouse!

Anyway, I guess this isn't a bad solution, but it's not for me. I have 22 pinned items on my Taskbar, but I am only using this vbs script for 7 of them.
 

·
Registered
Joined
·
669 Posts
You have a special talent of making things a lot more effort than they need to be hahahaha.

I just tap the windows key, start typing what I want and whack enter
biggrin.gif
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #15 ·
Quote:
Originally Posted by Bearybear View Post

You have a special talent of making things a lot more effort than they need to be hahahaha.

I just tap the windows key, start typing what I want and whack enter
biggrin.gif
Oh believe me, I have my entire system set up for minimal effort. lol I'd have to call it the The Lazy Man's Paradise. I use the Start Menu search for a lot of things, but I also use my pinned items. I got it all down to a science where I have my most frequently used pinned items as far left as possible, and they all fit within the first 10 (WinKey + 0 is for the 10th pinned item). So, if my hands are on the Home Row, then I'll use the keyboard to open a pinned item. If my right hand is on my mouse, then I might use my mouse - unless my cursor is so far away that using the keyboard would be faster. For things that I rarely use that aren't even pinned to the Taskbar, well of course I use Start Menu search and I only type what's needed to get a matching result so close that all I have to do is press Enter.

I also take advantage of the Quick Launch toolbar.

So yeah, I have everything as close to me as possible, so to speak. It's very "ergonomic", in a sense. I'm not new to computers. ;) I'm one of those people who cringe when I watch other people use a computer. I'm always thinking, "Oh come on. There's a much faster and easier way to do that! Argh! You're way too slow!"

Edit: I have to be honest. I'm a little bit insulted because what you said ("You have a special talent of making things a lot more effort than they need to be") is descriptive of a newbie. I'm so much the opposite of what you said there that it's almost at a ridiculous level. I mean, I live at my computer, and I've been living at it for more than 3-4 years now. I also started in DOS (I started before that, but not really with much interest yet). Today, I have everything refined and streamlined as much as possible in order to minimize or eliminate unnecessary keystrokes and mouse usage. Again, it's almost at a ridiculous level. When I watch anyone else use their computer, I just go, "omg come on".

Edit #2: Oh, and double-clicking would add more effort than is necessary for me.
 

·
Registered
Joined
·
669 Posts
Nothing to do with doing things the wrong way or being a newbie, I'm saying you've gone the extra mile and put much thought into this functionality where I and most would have given up long ago.

I wasn't trying to belittle you or try to appear 'better' than you in anyway, I'm a tard when it comes to 'everyday' home client usage and use a mouse and keyboard like a six year old ^.^

I'm really sorry if I did offend you.

*hugs* :3
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #17 ·
Quote:
Originally Posted by Bearybear View Post

Nothing to do with doing things the wrong way or being a newbie, I'm saying you've gone the extra mile and put much thought into this functionality where I and most would have given up long ago.

I wasn't trying to belittle you or try to appear 'better' than you in anyway, I'm a tard when it comes to 'everyday' home client usage and use a mouse and keyboard like a six year old ^.^

I'm really sorry if I did offend you.

*hugs* :3
I had put up with this for a very long time and I almost gave up when it happened "for the last time". lol

Anyway, it's all good. I just misunderstood.

Edit: Thanks for the bear hug. :)
 

·
Not new to Overclock.net
Joined
·
79,005 Posts
Discussion Starter · #18 ·
Bump for new and improved OP. :)
 
1 - 18 of 18 Posts
Top