-
Posts
44 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
toto22's Achievements

Seeker (1/7)
3
Reputation
-
toto22 reacted to a post in a topic: SOLVED: FileWriteFromArray adds new line at the end
-
toto22 reacted to a post in a topic: SOLVED: FileWriteFromArray adds new line at the end
-
SOLVED: FileWriteFromArray adds new line at the end
toto22 replied to toto22's topic in AutoIt General Help and Support
Yea I got it it, thank you. I posted the solution that works for me. Is there a button that marks it solved? -
toto22 reacted to a post in a topic: SOLVED: FileWriteFromArray adds new line at the end
-
SOLVED: FileWriteFromArray adds new line at the end
toto22 replied to toto22's topic in AutoIt General Help and Support
$String = _ArrayToString($OldSymbols,@CRLF) FileWrite ( @ScriptDir & '\WatchList.txt', $String ) -
SOLVED: FileWriteFromArray adds new line at the end
toto22 replied to toto22's topic in AutoIt General Help and Support
So to prevent that, I should probably add my array to string. remove @CRLF and paste it to file -
ControlSend($HWnd,"","[NAME:tbSymbol]", $Symbol)
-
Please help. How to enter text to my C# program textbox? window info " >>>> Window <<<< Title: Form1 Class: WindowsForms10.Window.8.app.0.141b42a_r10_ad1 Position: 1922, 615 Size: 553, 680 Style: 0x16CF0000 ExStyle: 0x00050100 Handle: 0x001E0812 >>>> Control <<<< Class: WindowsForms10.EDIT.app.0.141b42a_r10_ad1 Instance: 4 ClassnameNN: WindowsForms10.EDIT.app.0.141b42a_r10_ad14 Name: tbSymbol Advanced (Class): [NAME:tbSymbol] ID: 2492658 Text: TSLA Position: 100, 16 Size: 63, 20 ControlClick Coords: 43, 10 Style: 0x560100C0 ExStyle: 0x00000200 Handle: 0x002608F2 >>>> Mouse <<<< Position: 2073, 672 Cursor ID: 0 Color: 0xFFFFFF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Shars Request SELL BUY 4000 Price Update Money SYMBOL TSLA Disconnect Connect >>>> Hidden Text <<<< " tried everything, $HWnd = WinActivate("Form1") ControlSend($HWnd,"", "[CLASS:WindowsForms10.EDIT.app.0.141b42a_r10_ad1]", $Symbol)
-
UIAutomation check if OBJECT exists
toto22 replied to toto22's topic in AutoIt General Help and Support
Thank you for your reply, I believe that it is always empty in this case. -
toto22 changed their profile photo
-
I'm working on a script that does Auto-Log in for me. it looks like this : #include "UIAWrappers.au3" If ProcessExists("Advanced Dashboard.exe") Then Else Run("C:\Program Files (x86)\Advanced Dashboard\Advanced Dashboard.exe") EndIf sleep(1000) Local $oP6=_UIA_getObjectByFindAll($UIA_oDesktop, "Title:=Advanced Dashboard", $treescope_children) Local $oP5=_UIA_getObjectByFindAll($oP6, "Title:=;controltype:=UIA_PaneControlTypeId;class:=WindowsForms10.Window.8.app.0.34f5582_r9_ad1", $treescope_children) Local $oP4=_UIA_getObjectByFindAll($oP5, "Title:=;controltype:=UIA_PaneControlTypeId;class:=Shell Embedding", $treescope_children) Local $oP3=_UIA_getObjectByFindAll($oP4, "Title:=;controltype:=UIA_PaneControlTypeId;class:=Shell DocObject View", $treescope_children) Local $oP2=_UIA_getObjectByFindAll($oP3, "controltype:=UIA_PaneControlTypeId;class:=Internet Explorer_Server", $treescope_children) _UIA_Action($oP2,"setfocus") Local $oP1=_UIA_getObjectByFindAll($oP2, "Title:=WebBroker Login;controltype:=UIA_PaneControlTypeId;class:=", $treescope_children) Local $oP0=_UIA_getObjectByFindAll($oP1, "Title:=;controltype:=UIA_GroupControlTypeId;class:=", $treescope_children) Local $oUIElement1=_UIA_getObjectByFindAll($oP0, "title:=Password;ControlType:=UIA_EditControlTypeId", $treescope_subtree) ;~_UIA_action($oUIElement,"highlight") _UIA_action($oUIElement1,"click") Send("*****") Local $oUIElement2=_UIA_getObjectByFindAll($oP0, "title:=Login;ControlType:=UIA_ButtonControlTypeId", $treescope_subtree) ;~_UIA_action($oUIElement,"highlight") _UIA_action($oUIElement2,"click") Is there a way to check if "$oUIElement1" exists before I enter my password? I want my script to wait for "$oUIElement1" object to be present in-order to to do a log-in and do not rely on Sleep(1000). Thank you in advance!
-
toto22 reacted to a post in a topic: Is there a way to specify a UIAutomation control in a way that yields faster actions?
-
toto22 reacted to a post in a topic: IUIAutomation MS framework automate chrome, FF, IE, ....
-
toto22 reacted to a post in a topic: IUIAutomation MS framework automate chrome, FF, IE, ....
-
toto22 reacted to a post in a topic: IUIAutomation MS framework automate chrome, FF, IE, ....
-
toto22 reacted to a post in a topic: IUIAutomation MS framework automate chrome, FF, IE, ....
-
toto22 reacted to a post in a topic: check array empty
-
toto22 reacted to a post in a topic: Check if .txt file contains a string
-
thank you for all of your work!
-
I have a string that look like this: WIFI 13.8 26.59 BCRX 9.6 13.34 GTES 8.5 11.15 DFRG 5.9 33.02 GIL 5.5 12.08 How can I simply build an Array with it?
-
IUIAutomation MS framework automate chrome, FF, IE, ....
toto22 replied to junkew's topic in AutoIt Example Scripts
I can't figure out how to use partial Window-Title. I need it because it constantly changes. So this works Local $oP4 = _UIA_getObjectByFindAll($UIA_oDesktop,"Title:=Untitled - Notepad") However, this doesn't Opt("WinTitleMatchMode",2) WinActivate("Note") Local $sText = WinGetTitle("[ACTIVE]") Local $sText2 = '"Title:=' & $sText & '"' Local $oP4 = _UIA_getObjectByFindAll($UIA_oDesktop,$sText2) Above are just examples. I'm trying to get it to work for Trade-Ideas program that has multiple windows of same class with constantly changing titles -
IUIAutomation MS framework automate chrome, FF, IE, ....
toto22 replied to junkew's topic in AutoIt Example Scripts
it is blank :\ -
IUIAutomation MS framework automate chrome, FF, IE, ....
toto22 replied to junkew's topic in AutoIt Example Scripts
Good Day junkew, Thank you for your amazing work. I see that you include a "getvalue" command. However, is there a way to get a "Name" value somehow? my code #include "UIAWrappers.au3" AutoItSetOption("MustDeclareVars", 1) Local $oP4=_UIA_getObjectByFindAll($UIA_oDesktop, "Title:=GOLDCORP - Gold Ore Mining", $treescope_children) _UIA_Action($oP4,"setfocus") Local $oP3=_UIA_getObjectByFindAll($oP4, "Title:=;controltype:=Tab", $treescope_children) _UIA_Action($oP3,"setfocus") Local $oP2=_UIA_getObjectByFindAll($oP3, "Title:=;controltype:=Pane", $treescope_children) _UIA_Action($oP2,"setfocus") Local $oP2=_UIA_getObjectByFindAll($oP3, "Title:=;controltype:=Pane", $treescope_children) _UIA_Action($oP2,"setfocus") Local $oP1=_UIA_getObjectByFindAll($oP2, "Title:=;controltype:=Text;instance:= 4", $treescope_children) _UIA_Action($oP1,"setfocus") local $oUIElement=_UIA_getObjectByFindAll($oP1, "controltype:=Text", $treescope_subtree) Local $string = _UIA_action($oUIElement,"!!! GET NAME !!!") <--------------------------- Thats what i need :( MsgBox($MB_OK,"", $string) -
Earthshine reacted to a post in a topic: SOLVED: Get Text from UI
-
OMG THANK YOU THANK YOU THANK YOU
- 22 replies
-
Earthshine reacted to a post in a topic: SOLVED: Get Text from UI
-
you know it does find object and highlights and clicks it. However getting text is a whole different story. there should be a command to show text or header. Im taking a lil break now. thank you brotha
- 22 replies