Try
AskToRun!
It shows a timed confirmation dialog before running programs.
Edit the apps= line to add programs, separate them by commas.
You can also change the timer= to change the countdown time.
To change the default action, just change the defaulttext, othertext, defaultaction and otheraction lines.
Edited 2008.03.23Skrommel
;AskToRun.ahk
; Shows a timed confirmation dialog before running programs.
; Edit the apps= line to add programs, separate them by commas.
; Edit the timer= line to change the countdown time.
; To change the default action, edit the lines
; defaulttext and othertext and defaultaction and otheraction.
;Skrommel @ 2008
apps=Notepad.exe,Calc.exe ; Programs to run, separated by commas
timer=10 ; Seconds to wait before default action
defaulttext=No ; Text displayed on the default button
othertext=Yes ; Text displayed on the other button
defaultaction=DONT ; DO or DONT
otheraction=DO ; DO or DONT
prompt=Run these apps? ; Text displayed in the dialog
seconds=sec ; Text displayed after the counter
#NoEnv
#SingleInstance,Force
applicationname=AskToRun
StringReplace,apps,apps,`,,`n,All
Gui,+ToolWindow +AlwaysOnTop
Gui,Add,Text,,`n%prompt%`n`n%apps%`n
Gui,Add,Button,w75 Default Vcounter G%defaultaction%,&%defaulttext% (%timer% %seconds%)
Gui,Add,Button,w75 x+5 G%otheraction%,&%othertext%
Gui,Show,,%applicationname%
SetTimer,COUNTDOWN,1000
Return
COUNTDOWN:
timer-=1
GuiControl,,counter,&%defaulttext% (%timer% %seconds%)
If timer=0
Goto,DONT
Return
DO:
SetTimer,COUNTDOWN,Off
Loop,Parse,Apps,`n
Run,%A_LoopField%,,UseErrorLevel
ExitApp
GuiClose:
DONT:
SetTimer,COUNTDOWN,Off
ExitApp