1.    10 Feb 2017 #1
    Join Date : Sep 2015
    Posts : 287
    Windows 10

    Prompt to execute shortcut


    This time, for once, I actually want an "Are you sure . . ." window to pop up when executing a shortcut. Any suggestions?

    tcebob
      My ComputerSystem Spec
  2.    10 Feb 2017 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,438
    Win 10 Pro (1703)

    You could have the shortcut point to a very simple Autohotkey script
    Autohotkey is a free scripting language, well supported, and yours is a trivial case, so using the help file and examples you should be able to achieve that.

    The script would use a
    MsgBox

    Displays the specified text in a small window containing one or more buttons (such as Yes and No).

    followed by

    IfMsgBox

    Checks which button was pushed by the user during the most recent MsgBox command.

    IfMsgBox, ButtonName

    to check the response, and then conditionally launches your program.
      My ComputerSystem Spec
  3.    10 Feb 2017 #3
    Join Date : Sep 2015
    Posts : 287
    Windows 10
    Thread Starter

    OK, good suggestion. I normally use HotkeyP for key macros so I'll try that first. But Autohotkey is more extensive and I keep a copy at the ready.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Customization Create Elevated Command Prompt Shortcut in Windows 10
How to Create an Elevated Command Prompt Shortcut in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands in an elevated command prompt, you can perform tasks that require...
Tutorials
mystery keyboard shortcut activates Sleep without prompt
Let me preface this with yes I did google and searched on this forum and no I couldn't find anything that seemed to fit this issue. I tried Alt+F4 and that was not the same result. When the issue occurred, I was playing a game and within the game...
General Support
Need to make a command prompt shortcut
Hi, I'm really struggling with command prompt right now, it doesn't make any sense, and I have found ZERO info through repeated Google searches. I'm on Windows 10 and for some reason my Photoshop CS6 refuses to open and throws the stupid "This...
Software and Apps
attempted execute of no execute memory BSOD after waking from Suspend
Hello everyone. I've installed Windows 10 in my computer yesterday just to find out that suspending is not working, as I wake my computer I receive this error on BSOD attempted execute of no execute memory Tried updating VGA/LAN/Motherboard...
BSOD Crashes and Debugging
Solved Nothing happens when I try to execute a vbs program
Hi, I had a program in visual basic script which I used under Win 8.1 (from which upgraded) to set a daily restore point. I've discovered that nothing happens when I double click it. I understand vbscript is implemented in Win 10 and the dll...
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:45.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums