Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
filezilla copy url
#2
i got it working, but please give input.

Macro filezilla
Code:
Copy      Help
out
int w=win("* - FileZilla" "wxWindowClassNR" "" 0x5)
Acc aSysListView32.Find(w "LIST" "" "class=SysListView32" 0x4 0 3)
ARRAY(Acc) files; int i
aSysListView32.Selection(files)

Acc aFolder.Find(w "COMBOBOX" "" "class=ComboBox" 0x1004 0 2)
;out aFolder.Value
str folder.gett(aFolder.Value -1 "/" )
str path.gett(aFolder.Value 1 "/" 2)


sel PopupMenu("Copy URL[]Delete")
,case 1
,,for i 0 files.len
,,,_s.formata("http:/%s.com/%s/%s[]" folder path files[i].Name)

,case 2
,,out "delete"
,,;key X
,,;int hwnd=win("Bestätigung erforderlich" "#32770")
,,;
,,;wait 0 WC hwnd
,,;but id(6 hwnd)
,,;wait 0 WC win("FileZilla" "#32770")
,,;but id(6 win("FileZilla" "#32770"))

out _s
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)