
stenioc1
Active Members-
Posts
20 -
Joined
-
Last visited
stenioc1's Achievements

Seeker (1/7)
0
Reputation
-
Hello, I tried the code change, still not working, I forgot to inform you that the code use other variables in the links, below the example: <a href="javascript:__doPostBack('dtgLista$_ctl3$_ctl0','')"> <a href="javascript:__doPostBack('dtgLista$_ctl4$_ctl0','')"> <a href="javascript:__doPostBack('dtgLista$_ctl5$_ctl0','')"> I want to use the structure "for" to work the code, but I wish to use in the simple form for learning to working, below the logs: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\cordeirs\Desktop\Projetos\AutoIT\teste moebius.au3" /UserParams +>09:18:14 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ; Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409 Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 +>09:18:15 AU3Check ended.rc:0 >Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\cordeirs\Desktop\Projetos\AutoIT\teste moebius.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop Found 1 area elements! +>09:18:35 AutoIt3.exe ended.rc:0 +>09:18:35 AutoIt3Wrapper Finished.. >Exit code: 0 Time: 22.186 Thanks
-
Hello, I have the code that works well, opening the page and click on the links, after its not opening next link, below the code html: <a href="javascript:__doPostBack('dtgLista$_ctl3$_ctl0','')"> I tried this code and not works: Func ClickIncident() $oFrame1 = _IEFrameGetObjByName($oIE, 'contents') ;OK $oFrame2 = _IEFrameGetObjByName($oFrame1, 'main') ;OK Local $oAreas= _IETagNameGetCollection($oIE, "href") For $oArea In $oAreas if StringInStr($oArea.outerhtml,'dtgLista$_ctl3$_ctl0') <> 0 Then _IEAction ($oArea, "click") ExitLoop EndIf Next EndFunc ;==>ClickIncident And logs: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\cordeirs\Desktop\Projetos\AutoIT\teste moebius.au3" /UserParams +>20:14:15 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ; Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409 Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 +>20:14:15 AU3Check ended.rc:0 >Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\cordeirs\Desktop\Projetos\AutoIT\teste moebius.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop Found 1 area elements! +>20:14:33 AutoIt3.exe ended.rc:0 +>20:14:33 AutoIt3Wrapper Finished.. >Exit code: 0 Time: 17.740 Did not understand what I did wrong, Can you help me ? Thanks
-
stenioc1 reacted to a post in a topic: How to get this value after the page loads ?
-
How to get this value after the page loads ?
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
Sorry for the delay in responding, The code of the mLipok is working, but as I see this value in a msgbox and store in a variable for use in the other code? Below the log: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\cordeirs\Desktop\Projetos\AutoIT\teste moebius.au3" /UserParams +>20:43:20 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ; Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409 Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 +>20:43:20 AU3Check ended.rc:0 >Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\cordeirs\Desktop\Projetos\AutoIT\teste moebius.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop Found 1 area elements! +>20:43:51 AutoIt3.exe ended.rc:0 +>20:43:51 AutoIt3Wrapper Finished.. >Exit code: 0 Time: 31.695 Thanks -
It's working, thanks for help
-
Hello, I've a problem (I'm newbie in AutoIT), I don't know how get one word in the html code, for example: <span id="lblTotal" class="Bold_Text">26</span> I desire in the case, get a value "26", how I do it ? Thanks.
-
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
It's working now Danp2 Thank you for help -
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
Thanks for support Danp2, attached I am sending you the website files, is what I do, because I'm not an administrator of this server Projetos.rar -
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
Thanks for help, below the output: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" /UserParams +>11:26:29 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ; Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409 Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 +>11:26:29 AU3Check ended.rc:0 >Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop 2 frames found 0 - banner --> IE.au3 T3.0-1 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: MapdbbTopGraphic:_ct10:ccTopGraphic, Index: 0) 1 - contents --> IE.au3 T3.0-1 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: MapdbbTopGraphic:_ct10:ccTopGraphic, Index: 0) +>11:26:51 AutoIt3.exe ended.rc:0 +>11:26:51 AutoIt3Wrapper Finished.. >Exit code: 0 Time: 23.014 -
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
I think I found another way to perform the action, but I need help from you, as you would use the mouse click event to a iframe with the link with this code, I want to accomplish with the get the object 6851195: <div style="COLOR: white; cursor:pointer; font-weight:bold" onclick="goToChamado('parm=EJTRk52TpVjSOMpsVpIkbHzRL2TvkRRrsipkT0ovFEcfTUViZRWRQMMBbqS2ILFQMOF2tZbtdD8U8lzFe7AGL40ra7pJxQ%2fhvE5eI11ATHfBwspFlPHMhE6fRJ9S9eSN8Xv3Ji1laofL5wcoy6mevVHD5p50c13dO3ksWXG4%2fg3mJRlmuWTBSR2nwk4DZsLDHg%3d%3d')">6851195</div> Thanks -
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
I tried change my code and not work: Func ClickGrafic() Local $oFrame = _IEFrameGetObjByName($oIE, "WorkSpace.aspx") Local $oClickGrafic = _IEGetObjByName ($oFrame, "javascript:__doPostBack('dbbTopGraphic$_ctl0$ccTopGraphic','ABR%20-%20CONTROLE%20DE%20ACESSO%20UNIX%20(UX)')") _IEAction($oClickGrafic, "click") EndFunc ;==>ClickGrafic And logs: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" /UserParams +>15:38:41 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ; Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409 Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 +>15:38:41 AU3Check ended.rc:0 >Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop --> IE.au3 T3.0-1 Warning from function _IEFrameGetObjByName, $_IEStatus_NoMatch (No frames matching name) --> IE.au3 T3.0-1 Error from function _IEGetObjByName, $_IEStatus_InvalidDataType --> IE.au3 T3.0-1 Error from function _IEAction(click), $_IEStatus_InvalidDataType +>15:38:53 AutoIt3.exe ended.rc:0 +>15:38:53 AutoIt3Wrapper Finished.. >Exit code: 0 Time: 12.584 I don't understand what I did wrong Thanks -
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
Unfortunately not working: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" /UserParams +>08:50:11 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ; Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409 Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 +>08:50:11 AU3Check ended.rc:0 >Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop +>08:50:24 AutoIt3.exe ended.rc:0 +>08:50:24 AutoIt3Wrapper Finished.. >Exit code: 0 Time: 12.916 -
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
The following error is appearing: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" /UserParams +>08:20:48 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ; Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409 Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3"(29,1) : error: syntax error EndIf ^ C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3 - 1 error(s), 0 warning(s) !>08:20:48 AU3Check ended. Press F4 to jump to next error.rc:2 +>08:20:49 AutoIt3Wrapper Finished.. >Exit code: 2 Time: 0.455 -
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
Sorry, wanted facilitate the reading of the code , below my code: #include <MsgBoxConstants.au3> #include <IE.au3> LoginSite() Sleep(5000) ClickGrafic() Func LoginSite() Global $oIE = _IECreate("https://moebius.sondaprocwork.com.br/Moebius/login.aspx") Local $oUsername = _IEGetObjByName($oIE, "txtUsuario") Local $oPassword = _IEGetObjByName($oIE, "txtSenha") Local $OButton = _IEGetObjByName($oIE, "btnEntrar") _IEFormElementSetValue($oUsername, "my_login") _IEFormElementSetValue($oPassword, "my_pass") _IEAction($OButton, "click") EndFunc ;==>LoginSite Func ClickGrafic() Local $oClickGrafic = _IEGetObjByName($oIE, "MapdbbTopGraphic:_ct10:ccTopGraphic") _IEAction($oClickGrafic, "click") EndFunc ;==>ClickGrafic And logs: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" /UserParams +>00:57:14 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ; Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409 Keyboard:00000416 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 +>00:57:14 AU3Check ended.rc:0 >Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\cordeirs\Desktop\Projetos\AutoIT\new2.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop --> IE.au3 T3.0-1 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: MapdbbTopGraphic:_ct10:ccTopGraphic, Index: 0) --> IE.au3 T3.0-1 Error from function _IEAction(click), $_IEStatus_InvalidDataType +>00:57:20 AutoIt3.exe ended.rc:0 +>00:57:20 AutoIt3Wrapper Finished.. >Exit code: 0 Time: 6.409 Thanks -
Problem using the _IEGetObjByName
stenioc1 replied to stenioc1's topic in AutoIt General Help and Support
I put the string ('GRAFICS (NAME)' as an example, but the execution of the script is correct.