Search found 81 matches

by Sir Teddy the First
26 Aug 2019, 13:26
Forum: Ask For Help
Topic: Stopping loop if variable in current window Topic is solved
Replies: 2
Views: 192

Re: Stopping loop if variable in current window Topic is solved

You could try WinText , possibly with DetectHiddenText on, but as I am not using Chrome myself, I'm not entirely sure that this will work. Despite that, you could increase your chance of success by adding a sleep command inbetween the send-command, maybe even a second loop that checks your clipboard...
by Sir Teddy the First
26 Aug 2019, 13:21
Forum: Ask For Help
Topic: How to have many windows of browsers Topic is solved
Replies: 5
Views: 363

Re: How to have many windows of browsers Topic is solved

You would have to provide more information what you want to do, because even if you looked up the URL, if it's the same title it will almost every time also be the same URL. At least on firefox, WinText is also empty, that would not get you any further. But I don't think that it is very likely that ...
by Sir Teddy the First
22 Aug 2019, 15:56
Forum: Ask For Help
Topic: Regular expression to apply in a TXT file
Replies: 3
Views: 226

Re: Regular expression to apply in a TXT file

Hi, I just came up with this. I hope it does what you wanted. The Text is just an example, just copy that function and call it whenever you need it. Text := "This Text is `nsplit into two lines!`r`nThere are mutliple sentences too." Text := PolishText(Text) MsgBox % Text return PolishText(Text) { Te...
by Sir Teddy the First
22 Aug 2019, 01:57
Forum: Ask For Help
Topic: Detect application icon change ?
Replies: 1
Views: 163

Re: Detect application icon change ?

Hi,
you could do an ImageSearch for the new icon or just a PixelGetColor to detect that.
But depending on what program it is, there might be an easier solution.
by Sir Teddy the First
21 Aug 2019, 09:38
Forum: Ask For Help
Topic: Opening web site according to my order
Replies: 4
Views: 380

Re: Opening web site according to my order

Hi, first of all you probably need to insert a Sleep command after each tab, because your browser has to register what you are doing first and the response time will vary depending on the website's response time. Second, what exactly does "If A_Index = 0" mean? "A_Index" will never be "0" inside a l...
by Sir Teddy the First
21 Aug 2019, 05:09
Forum: Gaming
Topic: Need help activating and deactivating this script. Topic is solved
Replies: 5
Views: 432

Re: Need help activating and deactivating this script. Topic is solved

There you go: SendMode, Input ScriptRunning:= false Alt:: ScriptRunning := !ScriptRunning return #If ScriptRunning WheelDown:: Loop, 6 { Send, {LButton} Sleep, 20 Send, {RButton} Sleep, 20 } return #If The script is turned off by default, meaning you have to press the Alt-Key to activate it. If you ...
by Sir Teddy the First
21 Aug 2019, 04:53
Forum: Ask For Help
Topic: Autoit to Ahk (InetRead) Topic is solved
Replies: 4
Views: 318

Re: Autoit to Ahk (InetRead) Topic is solved

Hi, here you go. This should be what you wanted: URL := "http://api..com/php/getInfo/user=" InputBox, sInput, User, Gib einen Usernamen ein: MsgBox, 64, Ausgabe, % "Der User '" sInput "' ist " . Text := IsOnline(sInput) = 0 ? "nouser" : "ok" . "." return IsOnline(sInput) { global URL UserRequest := ...
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: 342

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: 342

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: 517

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: 216

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: 363

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: 216

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: 715

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: 715

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: 715

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: 715

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: 221

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: 715

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: 517

Re: Recall sequential number

Well, I'm glad we got this problem solved! :D

Go to advanced search