Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic Folder's content in PopUp menus.
#2
try something like this:

search for "DynamicMenu" for more info.
it's the "&" in the 2nd to last line that puts the "_" on the first character.
Code:
Copy      Help
Dir d; str bfn afp c s
foreach(d "C:\music\*.m3u" FE_Dir 0xC)
,bfn=d.FileName
,afp=d.FileName(1)
,c=afp
,c.findreplace("C:\music\" "")
,s.formata("&%s :run ''%s''[]" c afp)
DynamicMenu(s)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)