Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
include variables
#2
recent files
Code:
Copy      Help
//mru_reader
str mru
str keypath = "Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\"
//ext will be filled by function
str ext = "txt"
str key_path.format("%s%s" keypath ext)
rget(mru "MRUList" key_path 0)
out mru
//my result -> gfedcbajih
int i=len(mru)
//result len = 10, can be used for rep
out i

now i need to know how to split/slice mru
so that i can get all the values.
Code:
Copy      Help
str value splitted
//splitted is one of mru -> gfedcbajih
rget(value splitted key_path 0)
my guess is to split the mru string to an array and
to build then a menu from that.

btw. i prepared the whole posting in a ppro note, thats much
better then the phpBB interface Smile


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)