Search found 30 matches

by RinkaDink
06 Oct 2019, 23:57
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 513
Views: 168625

Re: FindText - Capture screen image into text and then find it Topic is solved

Dears, good morning.

Just copied the code from page 1 and getting error on the code (Parameter#2 Invalid) in row 477: GUI,ADD,TAB3
Previous versions without any problems.

Best regards
RinkaDink
by RinkaDink
21 Sep 2019, 12:25
Forum: Ask For Help
Topic: Link on existing IE instance without ID or Name
Replies: 18
Views: 2006

Re: Link on existing IE instance without ID or Name

Dear Rommmcek,

thank you! This saved my weekend. :clap:

Best regards
RinkaDink
by RinkaDink
21 Sep 2019, 11:55
Forum: Ask For Help
Topic: Link on existing IE instance without ID or Name
Replies: 18
Views: 2006

Re: Link on existing IE instance without ID or Name

Hi Rommmcek,

not the best but acceptable..is nice! But it seems to work. :D

Just one thing how do I make him not to select the first but maybe second or third occurance of that WTC word ?
by RinkaDink
21 Sep 2019, 10:04
Forum: Ask For Help
Topic: Link on existing IE instance without ID or Name
Replies: 18
Views: 2006

Re: Link on existing IE instance without ID or Name

The site has only two times mentioned the word WTC on it. Maybe instead looking for that tag and on click element would it be possible to search for the text and click the position? Would that be possible and a different approach? I am trying to avoid imagesearch as this is supposed to run on differ...
by RinkaDink
21 Sep 2019, 09:58
Forum: Ask For Help
Topic: Link on existing IE instance without ID or Name
Replies: 18
Views: 2006

Re: Link on existing IE instance without ID or Name

it is an corporate site and not in the internet. it ends in .int\

any way I could save it and up it or extract the html in different way you need ?
by RinkaDink
21 Sep 2019, 09:17
Forum: Ask For Help
Topic: Link on existing IE instance without ID or Name
Replies: 18
Views: 2006

Re: Link on existing IE instance without ID or Name

Hi, tried it but nothing happens. The element is not clicked.

to test I put an output of the Wintitle. msgbox, %WinTitle%
In both original and replaced it gives "ahk_id 0x30048"
by RinkaDink
21 Sep 2019, 04:06
Forum: Ask For Help
Topic: Link on existing IE instance without ID or Name
Replies: 18
Views: 2006

Re: Link on existing IE instance without ID or Name

Yes, I tried but nothing happens. Then tried to put the .innertext into a variable to see if it would grab the element text. But the variable stays empty. Here is the full HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="...
by RinkaDink
20 Sep 2019, 14:10
Forum: Ask For Help
Topic: Link on existing IE instance without ID or Name
Replies: 18
Views: 2006

Re: Link on existing IE instance without ID or Name

Hello Getfree, good day thanks for helping. Here's the HTML. Is this sufficent ? <div id="page_content"> <div id="breadcrumb"> <ul> <li>WTC</li> </ul> </div><!-- end breadcrumb --> <div class="col_100"> <div class="content"> <h1> WTC </h1> </div> <div class="content"> <p> <a class="icon-external" on...
by RinkaDink
19 Sep 2019, 16:02
Forum: Ask For Help
Topic: Link on existing IE instance without ID or Name
Replies: 18
Views: 2006

Link on existing IE instance without ID or Name

Dear Members, hope you have time to help a noob here that is going mad. I have an open IE instance where I am tryingto click the link (its no button) Tried inspecting it with the IWB2 Lerner to get the Name or ID. Name and ID are blank / empty. Index = 90 (seems static) Inner Text = "TCW" Outer HTML...
by RinkaDink
29 Jun 2019, 18:40
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 238
Views: 95797

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Dear Geekdude, I want to thank you and all for sharing your codes and helping all with it. As a newbie to AHK, DOM usage and JS it would be great if anyone could give me some examples of probably basic stuff. I tend to not asking to provide a ready script as I really want to learn to do it myself bu...
by RinkaDink
11 May 2019, 15:51
Forum: Ask For Help
Topic: Partial String match in a function
Replies: 4
Views: 545

Re: Partial String match in a function

Hi Frosti,

It works like a charm.
I just amended it to match with .* as I have lots of varieties in those even with special chars like brackets.

Thank you for your help and explanation to this

Best regards
RinkaDink
by RinkaDink
11 May 2019, 04:57
Forum: Ask For Help
Topic: Partial String match in a function
Replies: 4
Views: 545

Re: Partial String match in a function

Dear Frosti, will test it later on. Just to be sure is it also an asterisk (*) if it is alphabetic and not numbers? eg CMSAZ i/o CMS123 The code line would then look like this, right? JavaControlGet(hwnd:=0, name:="RegExMatch(Str, "CMS\*", match)",role:="", description:="", occurrence:="", parentcon...
by RinkaDink
10 May 2019, 15:51
Forum: Ask For Help
Topic: Partial String match in a function
Replies: 4
Views: 545

Partial String match in a function

Dear Board Members in some cases I can not specify the exact Name in this code line and I would need to check if it partially is correct. Unfo IfInString is not possible as the Name is not stored previously. Example the Name contantly changes and can be "CMS123" or "CMS1234" or "CMS1236672" But it a...
by RinkaDink
10 Feb 2019, 18:16
Forum: Ask For Help
Topic: Java Access Bridge - CharCount Accessible Text
Replies: 9
Views: 1055

Re: Java Access Bridge - CharCount Accessible Text

Hi jeeswg

you can test on the sample swingset2.
by RinkaDink
10 Feb 2019, 17:13
Forum: Ask For Help
Topic: Java Access Bridge - CharCount Accessible Text
Replies: 9
Views: 1055

Re: Java Access Bridge - CharCount Accessible Text

for those who might have the same question I solved the CharCount:

vmID:=0
ac:=0
GetAccessibleContextWithFocus(WinExist("A"),vmID,ac)
Info:=GetAccessibleContextInfo(vmID,ac)
x1 := Info.X
Y1 := Info.Y
Info :=GetAccessibleTextInfo(vmID, ac, X1, Y1)
C1 := Info.CharCount

msgbox, %C1%
by RinkaDink
10 Feb 2019, 13:20
Forum: Ask For Help
Topic: Java Access Bridge - CharCount Accessible Text
Replies: 9
Views: 1055

Java Access Bridge - CharCount Accessible Text

Dear Forum Members, I am working on a scrip that uses the Java Access Bridge from Elgin who made a brilliant job to create this script. Right now I am struggling how to recognize the charcount of an currently focused text field. How do I get the charcount and value of the currently focused text and ...
by RinkaDink
06 Jan 2019, 08:15
Forum: Ask For Help
Topic: AHK & Java Access Bridge
Replies: 14
Views: 2780

Re: AHK & Java Access Bridge

Hello Elgin,

tested and F10 lookup may already be sufficent to achieve what I need.
I will have to test on my company machine once java is setup correctly but tests with Swingset were good.
Your code is awsome and I am really greatful that you made this.

Thanks!

Best regards
RnkaDink
by RinkaDink
05 Jan 2019, 20:08
Forum: Ask For Help
Topic: AHK & Java Access Bridge
Replies: 14
Views: 2780

Re: AHK & Java Access Bridge

Hello Elgin, so you will probably have to use GetParentWithRole() to get to the relevant frame and read out it's name to figure out where you are. That a frame will not be focused is understood and I follow but now it gets messy in my understanding. Could you give an example based on the SwingSet2 D...
by RinkaDink
05 Jan 2019, 15:21
Forum: Ask For Help
Topic: AHK & Java Access Bridge
Replies: 14
Views: 2780

Re: AHK & Java Access Bridge

I will ask my admin to install what I need correctly. If you allow me one more question towards function. The program has various internal frames which I want to check by the name on which is currently active. Example: One is called Overview How do I check if internal frame "Overview" is active ? Be...
by RinkaDink
05 Jan 2019, 11:05
Forum: Ask For Help
Topic: AHK & Java Access Bridge
Replies: 14
Views: 2780

Re: AHK & Java Access Bridge

Dear Elgin, yes I am using 32 bit AHK. I tested now on a second computer. Here JAB and AHK is working fine. This computer though is my private and doesnt have the office work environment softwares. I suspect that I found the error cause. And unfortunately it is a very basic on the installation. The ...

Go to advanced search