What kind of window/program are we talking about.
Maybe something like ControlGetText would also work.
If not, have a look at this thread, I think that's what you were looking for in the first place.
Search found 94 matches
- 21 Aug 2019, 01:28
- Forum: Ask for Help (v1)
- Topic: Running a script in a unactive window(?) Topic is solved
- Replies: 4
- Views: 928
- 20 Aug 2019, 00:46
- Forum: Ask for Help (v1)
- Topic: Running a script in a unactive window(?) Topic is solved
- Replies: 4
- Views: 928
Re: Running a script in a unactive window(?) Topic is solved
Hi,
PixelSearch is limited to what's visible on the screen. The window doesn't have to be active, but it has to be visible.
If that's the case, you could send keystrokes to that window via ControlSend.
PixelSearch is limited to what's visible on the screen. The window doesn't have to be active, but it has to be visible.
If that's the case, you could send keystrokes to that window via ControlSend.
- 20 Aug 2019, 00:43
- Forum: Ask for Help (v1)
- Topic: Recall sequential number
- Replies: 15
- Views: 1873
Re: Recall sequential number
Well, you could bring up a GUI with an "Edit"-Field that will always show the next number and if it's the wrong one, you just enter the correct one and the script will proceed with that.
- 20 Aug 2019, 00:37
- Forum: Ask for Help (v1)
- Topic: Remapping arrow keys for programming Topic is solved
- Replies: 4
- Views: 1974
Re: Remapping arrow keys for programming Topic is solved
Well, that's an interesting approach, I'm glad you got this solved.
- 19 Aug 2019, 05:43
- Forum: Ask for Help (v1)
- Topic: How to have many windows of browsers Topic is solved
- Replies: 5
- Views: 1044
Re: How to have many windows of browsers Topic is solved
Depending on what you want to do with this information WinGetTitle could be all you need.
- 18 Aug 2019, 10:06
- Forum: Ask for Help (v1)
- Topic: Remapping arrow keys for programming Topic is solved
- Replies: 4
- Views: 1974
Re: Remapping arrow keys for programming Topic is solved
If I understand you correctly, what you are trying to do is use your custom hotkeys for the arrow-keys in combination with the Shift-Key. This is indeed not working and is probably part of this problem: Combinations of three or more keys are not supported. Shift + your Hotkey would be three keys, th...
- 17 Aug 2019, 03:26
- Forum: Ask for Help (v1)
- Topic: Copy highlighted text
- Replies: 14
- Views: 2180
Re: Copy highlighted text
Hi, I just tested something: If you use your method and search for the text and it is highlighted and you are sure that it appears only once, what I did was the following: I searched for it via Ctrl+F (it got highlighted), I pressed "Next" (or Shorcut "Enter") which did not really do anything becaus...
- 17 Aug 2019, 02:48
- Forum: Ask for Help (v1)
- Topic: Copy highlighted text
- Replies: 14
- Views: 2180
Re: Copy highlighted text
Hi, just another suggestion, if you don't want to do it that way, we're going your way. I just checked that, if you operate via COM, every name of those fields is contained in the HTML-class named "rfcontent clearfix". So if you read this class into a variable, you can always check with "InStr" (eve...
- 17 Aug 2019, 02:42
- Forum: Ask for Help (v1)
- Topic: Copy highlighted text
- Replies: 14
- Views: 2180
Re: Copy highlighted text
So,
I now understand what you want to do, but I don't understand why?
would do the same thing. And you have to know what text you want to search for, why don't you just capitalize that?
I now understand what you want to do, but I don't understand why?
Code: Select all
StringUpper, OutputVar, InputVar , T
- 17 Aug 2019, 02:26
- Forum: Ask for Help (v1)
- Topic: Copy highlighted text
- Replies: 14
- Views: 2180
Re: Copy highlighted text
So, couldn't you just check in the Source-Code of the webpage if the text with your preferred case is present?
I'm sorry if I'm asking dumb questions, I just try to understand your problem
I'm sorry if I'm asking dumb questions, I just try to understand your problem
- 16 Aug 2019, 15:53
- Forum: Gaming Help (v1)
- Topic: Need help with script asap
- Replies: 1
- Views: 690
Re: Need help with script asap
Hi, I just polished your script a little bit. #SingleInstance Force #Persistent #IfWinActive, Tibia CoordMode, Pixel, Screen myszkaX:= 1281 myszkaY:= 143 SetTimer, CheckColor, 100 return CheckColor: PixelGetColor, PixColor, %myszkaX%, %myszkaY%, RGB if(PixColor = Mark1Color); add the color you want ...
- 16 Aug 2019, 15:42
- Forum: Ask for Help (v1)
- Topic: Copy highlighted text
- Replies: 14
- Views: 2180
Re: Copy highlighted text
Hi,
just a question: Why do you want to copy the text that got highlighted as a result of a search for text that you entered?
Wouldn't that just be the same text?
just a question: Why do you want to copy the text that got highlighted as a result of a search for text that you entered?
Wouldn't that just be the same text?
- 16 Aug 2019, 15:37
- Forum: Ask for Help (v1)
- Topic: Recall sequential number
- Replies: 15
- Views: 1873
Re: Recall sequential number
Well, I'm glad we got this problem solved!
- 16 Aug 2019, 09:24
- Forum: Ask for Help (v1)
- Topic: Automated click on website
- Replies: 2
- Views: 508
Re: Automated click on website
From what you have written I assume that it is some sort of animated text that is integrated via a function or a flash-graphic. Both of these cannot be interacted with, even via COM. If you know the exact position of where this text will appear, the position does not change over the course of many i...
- 16 Aug 2019, 09:19
- Forum: Ich brauche Hilfe
- Topic: FileAppend % ; ,
- Replies: 4
- Views: 1124
Re: FileAppend % ; ,
Hallo, da sollte es mehrere Möglichkeiten geben: Vorher eine Variable erstellen, die den Inhalt "%" oder "," hat Die Zeichen " escapen " mithilfe eines " ` " (kann funktionieren, muss nicht) Wenn die Zeichen Teil eines Strings sind, den String als Variable vorher erstellen und dann den Append-Befehl...
- 16 Aug 2019, 09:14
- Forum: Ask for Help (v1)
- Topic: Recall sequential number
- Replies: 15
- Views: 1873
Re: Recall sequential number
Hi, as far as I understand, you have done the following: You copied the second script just below the first one and launched that, right? If so, you did the following mistake: The autoexecute-section (what the script does before it returns to idle mode waiting for hotkeys to be pressed) ends as soon ...
- 15 Aug 2019, 02:04
- Forum: Ask for Help (v1)
- Topic: Retrieve string from HTML
- Replies: 4
- Views: 2360
Re: Retrieve string from HTML
Hi, there are a number of ways to retrieve the source code: On Firefox (but it should work in any other browser, just a different shortcut) you could send Ctrl+U to the window, send Ctrl+A, then Ctrl+C and finally Ctrl+W (Open the Source Code, Select it, Copy it, Close the Tab). This would "fit" to ...
- 14 Aug 2019, 14:52
- Forum: Ask for Help (v1)
- Topic: Retrieve string from HTML
- Replies: 4
- Views: 2360
Re: Retrieve string from HTML
Hi, you have to retrieve the source-code of the website and then use RegExMatch to find that specific part. Your needle would be something like needle = <span class="g47SY ">.*</span> What RegExMatch does: It searches for the occurence of this string where the " .* " represents multiple unknown char...
- 14 Aug 2019, 03:03
- Forum: Ask for Help (v1)
- Topic: COM Error Msg When Relauncing Internet Explorer
- Replies: 3
- Views: 880
Re: COM Error Msg When Relauncing Internet Explorer
Sometimes there's also the problem that if you launched a hidden IE-window too many times the OS will prevent you from launching any additional windows because they are all open in the background, which will result in a similar error message.
If that's the case, check the task manager to close them.
If that's the case, check the task manager to close them.
- 14 Aug 2019, 03:00
- Forum: Ask for Help (v1)
- Topic: Adding a row of data in excel using AHK Topic is solved
- Replies: 6
- Views: 2281
Re: Adding a row of data in excel using AHK Topic is solved
Hi,
have a look at this thread. It should contain all the information you need.
have a look at this thread. It should contain all the information you need.