Search found 94 matches

by Sir Teddy the First
21 Aug 2019, 01:28
Forum: Ask For Help
Topic: Running a script in a unactive window(?) Topic is solved
Replies: 4
Views: 697

Re: Running a script in a unactive window(?) Topic is solved

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.
by Sir Teddy the First
20 Aug 2019, 00:46
Forum: Ask For Help
Topic: Running a script in a unactive window(?) Topic is solved
Replies: 4
Views: 697

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.
by Sir Teddy the First
20 Aug 2019, 00:43
Forum: Ask For Help
Topic: Recall sequential number
Replies: 15
Views: 1527

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.
by Sir Teddy the First
20 Aug 2019, 00:37
Forum: Ask For Help
Topic: Remapping arrow keys for programming Topic is solved
Replies: 4
Views: 840

Re: Remapping arrow keys for programming Topic is solved

Well, that's an interesting approach, I'm glad you got this solved. :D
by Sir Teddy the First
19 Aug 2019, 05:43
Forum: Ask For Help
Topic: How to have many windows of browsers Topic is solved
Replies: 5
Views: 850

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.
by Sir Teddy the First
18 Aug 2019, 10:06
Forum: Ask For Help
Topic: Remapping arrow keys for programming Topic is solved
Replies: 4
Views: 840

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...
by Sir Teddy the First
17 Aug 2019, 03:26
Forum: Ask For Help
Topic: Copy highlighted text
Replies: 14
Views: 1519

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...
by Sir Teddy the First
17 Aug 2019, 02:48
Forum: Ask For Help
Topic: Copy highlighted text
Replies: 14
Views: 1519

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...
by Sir Teddy the First
17 Aug 2019, 02:42
Forum: Ask For Help
Topic: Copy highlighted text
Replies: 14
Views: 1519

Re: Copy highlighted text

So,
I now understand what you want to do, but I don't understand why?

Code: Select all

StringUpper, OutputVar, InputVar , T
would do the same thing. And you have to know what text you want to search for, why don't you just capitalize that?
by Sir Teddy the First
17 Aug 2019, 02:26
Forum: Ask For Help
Topic: Copy highlighted text
Replies: 14
Views: 1519

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 :think:
by Sir Teddy the First
16 Aug 2019, 15:53
Forum: Gaming
Topic: Need help with script asap
Replies: 1
Views: 589

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 ...
by Sir Teddy the First
16 Aug 2019, 15:42
Forum: Ask For Help
Topic: Copy highlighted text
Replies: 14
Views: 1519

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? :think:
by Sir Teddy the First
16 Aug 2019, 15:37
Forum: Ask For Help
Topic: Recall sequential number
Replies: 15
Views: 1527

Re: Recall sequential number

Well, I'm glad we got this problem solved! :D
by Sir Teddy the First
16 Aug 2019, 09:24
Forum: Ask For Help
Topic: Automated click on website
Replies: 2
Views: 355

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...
by Sir Teddy the First
16 Aug 2019, 09:19
Forum: Ich brauche Hilfe
Topic: FileAppend % ; ,
Replies: 4
Views: 886

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...
by Sir Teddy the First
16 Aug 2019, 09:14
Forum: Ask For Help
Topic: Recall sequential number
Replies: 15
Views: 1527

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 ...
by Sir Teddy the First
15 Aug 2019, 02:04
Forum: Ask For Help
Topic: Retrieve string from HTML
Replies: 4
Views: 705

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 ...
by Sir Teddy the First
14 Aug 2019, 14:52
Forum: Ask For Help
Topic: Retrieve string from HTML
Replies: 4
Views: 705

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...
by Sir Teddy the First
14 Aug 2019, 03:03
Forum: Ask For Help
Topic: COM Error Msg When Relauncing Internet Explorer
Replies: 3
Views: 689

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.
by Sir Teddy the First
14 Aug 2019, 03:00
Forum: Ask For Help
Topic: Adding a row of data in excel using AHK Topic is solved
Replies: 6
Views: 1204

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.

Go to advanced search