
Rodger
Active Members-
Posts
82 -
Joined
-
Last visited
Everything posted by Rodger
-
Hello, Lot's of people have configured their IE to save webpage logins (username and password) so they don't have to type it in everytime. Is there a possibilty that AutoIt overrules this so everytime you need to login with username and password for that specific site? Rodger
-
Hello, I have the following: ... <tr> <td align="left" valign="middle"> <div><a href="/cgi-bin/www6cgi/cedhtc120S/?9373695482#" onmouseout="MM_swapImgRestore(); window.status = ' ' ;" onmouseover="MM_swapImage('Image2','','../../../images/rplgn_highlight.jpg',1); window.status = 'RplgnD'; return true;" onclick="window.status = 'RplgnD'; return true;" target="main"> <img src="../../../images/rplng.jpg" alt="Raadplegen dossiers" name="Image2" width="125" vspace="0" border="0"></a></div></td> </tr> ... The image is placed within IE. I want AutoIt to click on the image but it doesn't work with _IEImgClick() becuause the image does not seem to exist. I also tried _IEImgGetCollection but 0 images are given back. Can somebody tell me why no images are found although they are placed on the website? Thks. Rodger
-
Hanging script in IE after two alert windows
Rodger replied to Rodger's topic in AutoIt General Help and Support
I solved it .... ; wait until new page is diplayed; alert window is displayed immediately after the page is displayed Sleep(10000) ; Click on OK ControlClick(WinGetTitle("", ""), "", "[CLASS:Button; TEXT:&Yes; Instance:1;]") -
Hello, I have the following situation: I opened a webpage with AutIt by using the _IECreate command. When AutoIt clicks on a button within the page an alert window appears. AutoIt clicks on the YES button of the alert window and immediately anohter alert window appears. AutoIt click on the YES button on this alert window an a new page is displayed. Immediately when this page finishes displaying it, an alert window appears of which I can't get control of. Here is a part of the script: $oIE = _IECreate ("blablabla",0) _IELoadWait ($oIE) WinSetState("", "", @SW_MAXIMIZE) $ButtonGo = _IEGetObjByName ($oIE, "Accept") $hwnd = _IEPropertyGet($oIE, "hwnd") _IEAction ($ButtonGo, "focus") ControlSend($hwnd, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{Enter}") ; Wait for Alert window: WinWait(WinGetTitle("", ""), "") Sleep(5000) ; Click on OK ControlClick(WinGetTitle("", ""), "", "[CLASS:Button; TEXT:OK; Instance:1;]") ; Wait for Alert window: WinWait(WinGetTitle("", ""), "") Sleep(5000) ; Click on OK ControlClick(WinGetTitle("", ""), "", "[CLASS:Button; TEXT:&Yes; Instance:1;]") ; wait until new page is diplayed; alert window is displayed immediately after the page is displayed _IELoadWait ($oIE) *** SCRIPT HANGS Sleep(5000) ; Click on OK ControlClick(WinGetTitle("", ""), "", "[CLASS:Button; TEXT:&Yes; Instance:1;]") Can somebody tell me what I am doing wrong? Thx, Rodger
-
I found the solution in the help file .. #include <IE.au3> $oIE = _IE_Example ("form") $oSubmit = _IEGetObjByName ($oIE, "submitExample") $hwnd = _IEPropertyGet($oIE, "hwnd") _IEAction ($oSubmit, "focus") ControlSend($hwnd, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{Enter}") ; Wait for Alert window, then click on OK WinWait("Windows Internet Explorer", "ExampleFormSubmitted") ControlClick("Windows Internet Explorer", "ExampleFormSubmitted", "[CLASS:Button; TEXT:OK; Instance:1;]") _IELoadWait ($oIE)
-
Is sounds right; The script indeed is paused until the popup goes away. Because it's paused I can't get control over the alert window/popup.
-
Hello, My AutoIt script clicks on a button in IE and a PHP script is started. This PHP script puts an alert window on screen with an OK button. I can't have my AutoIt script click on that button because the PHP script fully took over my AutoIt script and pauses my AutoIt script until I manually press on the Ok button. I don't want the PHP script pauses my AutoIt script, how can I accomplish that? Rodger
-
Hello, I am looking for an example script (AutoIt) how to extract/export Sqlite tabledata into an XML file. Can someone help me out with this? Many Thanks, Rodger
-
The previous question asked about SOAP xml helped me out. Thanks for the referring to it. The problem why it didn't work was the xmlns part. I had xmlns = "http:\\ ......" without a namespace being mentioned. So I added a dummy one to it. Thnks
-
Sorry, yes the xml is exactly how you mentioned in your reply.
-
Your right, my mistake but even with </soap:Header"> it does not work Any other suggestions?
-
Hello, I have the following XML (I kept the xmnls: ..... away): <?xml version="1.0" ?> <shadowfax:message-envelope> <shadowfax:message> <soap:Envelope> <soap:Header"> <soap:Body> <PolisWijzigingsNotificatie> <Pakket> <Mantel> <Onderdeel> </Onderdeel> </Mantel> </Pakket> </PolisWijzigingsNotificatie> </soap:Body> </soap:Envelope> </shadowfax:message> </shadowfax:message-envelope> The following statement runs ok: ConsoleWrite(_XMLGetChildNodes("/shadowfax:message-envelope/shadowfax:message/soap:Envelope/soap:Body") & @CRLF) But the next statement doesn't work: ConsoleWrite(_XMLGetChildNodes("/shadowfax:message-envelope/shadowfax:message/soap:Envelope/soap:Body/PolisWijzigingsNotificatie") & @CRLF) it says: No Matching Nodes found Why is that? I hope that somebody can help me :-) Thanks, Rodger
-
Let's say the XML looks like this: <?xml version="1.0" ?> <shadowfax:message-envelope> <shadowfax:message> <soap:Envelope> <soap:Header"> <soap:Body> <PolisWijzigingsNotificatie> <Pakket> <Mantel> <Onderdeel> </Onderdeel> </Mantel> </Pakket> </PolisWijzigingsNotificatie> </soap:Body> </soap:Envelope> </shadowfax:message> </shadowfax:message-envelope> It still doesn't work...
-
Hello, I have the following XML: <?xml version="1.0" ?> <shadowfax:message-envelope> <shadowfax:message> <soap:Envelope> <soap:Header"> <soap:Body> <PolisWijzigingsNotificatie> </PolisWijzigingsNotificatie> </soap:Body> </soap:Envelope> </shadowfax:message> </shadowfax:message-envelope> The following statement runs ok: ConsoleWrite(_XMLGetChildNodes("/shadowfax:message-envelope/shadowfax:message/soap:Envelope/soap:Body") & @CRLF) But the next statement doesn't work: ConsoleWrite(_XMLGetChildNodes("/shadowfax:message-envelope/shadowfax:message/soap:Envelope/soap:Body/PolisWijzigingsNotificatie") & @CRLF) it says: No Matching Nodes found Why is that? Thanks, Rodger
-
Hello, I made a editbox with GUICtrlCreateEdit and I want to show the line and columnposition of the blinking cursor of the editbox in the statusbar. So you always know on which line and column you are. Does anyone has a small example of this? Thanks, Rodger
-
I found the solution: The last GuiDelete() should be : GUIDelete(WinGetHandle(WinGetTitle("")))
-
I was a little bit to quick. The moment I closed one of the extra opened window, I can't close the other extra opened window(s) any more because the Gui has been deleted. Next to that, it closes always the first extra opened window and not the window you want to close.
-
Hello, I have made a main Window with a menu-item. Every time I click on the menu-item it opens a new window which should be the case. But .... when I close one of windows which was opened by the menu-item, it closes everything in stead of only that specific one. How can I solve this, it would be nice if you can give me an example. Thxs, Rodger
-
Hello, I have the following: $C1 = _GUICtrlEdit_AppendText($MessageBox, " Prio 1 ") $C2 = _GUICtrlEdit_AppendText($MessageBox, " Prio 2 ") GUICtrlSetColor($C1, $COLOR_RED) GUICtrlSetColor($C2, $COLOR_BLUE) But it doesn't work. every line appears in blue instead of the first one in red and the second in blue. Is there any way to accomplish this? Thkx, Rodger
-
Unfortunately it's a nogo :-(
-
Ok Thanks, I will try ....
-
Hello, I have coded gridlines in my listview like this: _GUICtrlListView_SetExtendedListViewStyle ($hSummeryListView, BitOR($LVS_EX_GRIDLINES, $LVS_EX_FULLROWSELECT, $LVS_EX_SUBITEMIMAGES)) The gridlines are shown in the listview but the moment you start scrolling in the listview, the gridlines disappear?! Is there a way to get them back, can the gridlines be "repainted" Thanks, Rodger
-
Blocking other Applications interrupting
Rodger replied to Rodger's topic in AutoIt General Help and Support
??? -
Blocking other Applications interrupting
Rodger replied to Rodger's topic in AutoIt General Help and Support
We are using Lotus Notes. When a popup appears when there is a new mail, the OK button of that popup has the focus. The problem here is that you never know when the popup appears ..... -
Hello, Is there a way to block applications from interrupting the AutoIt process. Example: Some mail programs display a popup when a mail is received. The AutoIt process doesn't go further until you press the OK button on the popup. The mail program may not be closed and must stay open. Thanks in advance, R.