(2019-10-22 09:36)Jean Lalonde Wrote: Hi Laoyao,
I can't insert the input box inside the menu as you illustrated. I'd like to but, as you have already read, this is a limitation of standard Windows menus used with AHK.
I could add a QAP Feature to open the Run dialog box but there would be little difference with opening it by pressing Win+R.
What you could do right now if you have AutoHotley installed on your system is to create a little script with only those 2 lines and add this script to your QAP menu as an Application favorite:
shell:=ComObjCreate("Shell.Application")
#R:hell.FileRun()
Hi Jean,
I have installed AHK ,and copied ur script in a new ahk file. when I DB-click this file, But Nothing happened. I added a hot key like !SPACE:: at the top line. it worked.
ur code look like the vbcscript-code (.js file) below.
(new ActiveXObject("Shell.Application")).FileRun()
it just use a file or a lnk-file to replace the #R ,but it still show the run Dialog-Box.
my purpose is can pop up a new textbox or a richtext Box on the screen. it can run a application, url, file, etc.
the reason why i want a new textbox, Cos the RUN Dialog looks not morden.
Now i use a hotkey remap software, it can remap #R to F3. it stills pop up the run Dialog, but all i can is this!
maybe QAP can't do this, afterall it's a menu soft.
I Still hope QAP can add the ahk-code plugin in the future. maybe users can add their own code into it, and can make it a sciprt or a application which can add in the favorite.
Thank for Ur explanation.
wish U Healthy.
laoyao 2019.10.23