Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extract full path of files in clipboard
#1
How extract full path of files in clipboard to array?
#2
Code:
Copy      Help
def CF_HDROP 15

str s
ARRAY(str) a
int i n

s.getclip(CF_HDROP)
if(!s.len) ret
n=DragQueryFile(s -1 0 0) ;;how many
a.create(n)
for i 0 n
,a[i].all(300)
,a[i].fix(DragQueryFile(s i a[i] 300))

;results:
for i 0 a.len
,out a[i]
#3
Thanks.


Forum Jump:


Users browsing this thread: 1 Guest(s)