Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enumerate
#3
1.
Code:
Copy      Help
Wsh.WshNetwork n._create
Wsh.WshCollection coll=n.EnumPrinterConnections
int i
for i 0 coll.Count 2
,VARIANT vi=i+1 ;;odd items are printer names
,str printername=coll.Item(vi)
,out printername


2.
Code:
Copy      Help
Acc a=acc("Notification Area" "TOOLBAR" "+Shell_TrayWnd" "ToolbarWindow32" "" 0x1001)
a.Navigate("f")
rep
,out a.Name
,a.Navigate("n"); err break


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)