Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ShowMenu: based on folder and textfiles
#1
If I have the following directory:
d:\menu_qm

Which has the following tree structure


Code:
Copy      Help
menu_qm
|
|--qm.txt
|--qm.docx
|
|--regexes
|    |
|    |--findrx_basic.txt
|    |--regex.docx
|
|
|--arrays
    |
    |--multidim.txt
    |--array.docx

menu_qm = rootfolder
regexes=subfolder
arrays=subfolder

I want to create a sort of dynamic pop-up menu based on a folder, in this case "d:\menu_qm".
It should show all the folders/subfolders and only show the textfiles.

So the menu should exactly be like depicted above without the .docx files.
Also the root items should be shown but they also must be .txt files.

Once a menu item is clicked the contents of that text file should be read and then that text should be send to whatever window the user was focussed on. The menu should appear at mouse pointer position and it must work in .exe format.
This means once the executable is run, it stays running in the background waiting for a key combination (for example when user presses [SHIFT]+[F1].

Any help on this would be greatly appreciated.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)