Re: Save Link As...
"valery_vi" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
Do you know about using Excel as Web-client? ie http://visualbasic.about.com/od/learnvba/l/bldykwebexcela.htm Valery --- In [email protected], "valery_vi" <shehrer1@...> wrote: > > > Does any of that make sense? > > :-) > Everything makes some sense, I think. But not every thing automated > has one. IE application has to embed Excel control for update or view > shared database files. This service is good and useful. > > You want to make more cool trick (double embedding with log in!): > 1. AutoIt script has to embed IE control > 2. Embedded IE control has to connect to remote Excel database. > 3. Embedded IE control has to embed Excel control to open downloaded > file. > > This is like to embed Outlook control into IE to update local > account. Isn't it? > > Valery > > --- In [email protected], "gkoelln7" <gkoelln7@> wrote: > > > > 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 > > > > > > > > > >