Re: Save Link As...
"gkoelln7" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
Well, to be more specific, I can obtain the link using _IELinkClickByText(), but the site requires an identification certificate (i.e., login) in order to save the file (which is an Excel file). If I go to the link manually in IE, it opens the Excel file in IE, which changes all the menus to Excel menus. Then, when I click File and Save As, it asks me to select a certificate to send as identification. _IEAction(...,"saveas") doesn't work with it once it's loaded. So, when I right-click on the link to the Excel file (instead of just left-clicking the link) and click Save As, it allows me to save it without any problems. Does any of that make sense? Greg --- In [email protected], "valery_vi" <shehrer1@...> wrote: > > See UDF from IE.au3: > > Func _IELinkClickByText(ByRef $o_object, $s_linkText, $i_index = 0, > $f_wait = 1) > > It can "Simulate a mouse click on a link with text sub-string > matching the string provided" > > But you can just get links collection. > > $links = $o_object.document.links > > Now you have to get any item from this collection and save it > directly without IE's action at all. > > Valery > > > --- In [email protected], "gkoelln7" <gkoelln7@> wrote: > > > > Neither INetGet(), nor _IEAction($oIE, "saveas") will work for what > I > > want to do. Is it possible to simulate performing the Save Link As > > (aka Save Target As) on a link? > > > > Thanks, > > > > Greg > > >