Search found 3310 matches

by boiler
11 Dec 2019, 16:55
Forum: Ask For Help
Topic: Trouble with WinWaitClose and #If WinActive(stuffed with remaps) Topic is solved
Replies: 4
Views: 260

Re: Trouble with WinWaitClose and #If WinActive(stuffed with remaps) Topic is solved

That didn't affect those lines. It was because they were below the hotkeys, regardless of whether there was an #If directive. The program flow starts at the top (in the auto-execute section) and stops at the first return (which marks the end of the auto-execute section) or a hotkey/hotstring/remap l...
by boiler
11 Dec 2019, 14:54
Forum: Ask For Help
Topic: Parsing a label Topic is solved
Replies: 13
Views: 459

Re: Parsing a label Topic is solved

It's a good idea to have the return there to mark the end of the auto-execute section of the script as a best practice. Just move the initial assignment of the InpurVar before the return or it won't ever execute that line.
by boiler
11 Dec 2019, 14:24
Forum: Ask For Help
Topic: Parsing a label Topic is solved
Replies: 13
Views: 459

Re: Parsing a label Topic is solved

Can you post the code that is producing that error? If it's the code I posted, did you copy the whole thing? It works here. Notice that you have to scroll to see all of the code in my last post.
by boiler
11 Dec 2019, 13:36
Forum: Ask For Help
Topic: Parsing a label Topic is solved
Replies: 13
Views: 459

Re: Parsing a label Topic is solved

Try this: InpurVar := "1NE" F2:: RegExMatch(InpurVar, "(\d+)(.+)", Match) Gosub, % (InpurVar := Match1 . Match2) InpurVar := (++Match1 = 4 ? 1 : Match1) . Match2 return 1NE: ToolTip, This is the 1NE subroutine return 2NE: ToolTip, This is the 2NE subroutine return 3NE: ToolTip, This is the 3NE subro...
by boiler
11 Dec 2019, 11:15
Forum: Ask For Help
Topic: Trying to change Value of Searchbar - Unknown Name Topic is solved
Replies: 5
Views: 280

Re: Trying to change Value of Searchbar - Unknown Name Topic is solved

You show trying to use getElementByName , but the actual method name is getElement s ByName (plural). Because of that, you need to determine which one in the array of elements it is, starting with 0, and identify the specific element. So it would be wb.document.getElementsByName("searchString")[0].v...
by boiler
11 Dec 2019, 10:58
Forum: Ask For Help
Topic: Pasting number without slash
Replies: 2
Views: 145

Re: Pasting number without slash

This will remove the slash if it exists and do nothing if it doesn't exist. See StrReplace for more information. RegExReplace is overkill for this case.

Code: Select all

f2::
Send ^c
sleep, 200
click, 372, 422
Clipboard := StrReplace(Clipboard, "/")
Send ^v
return
by boiler
11 Dec 2019, 10:50
Forum: Ask For Help
Topic: Parsing a label Topic is solved
Replies: 13
Views: 459

Re: Parsing a label Topic is solved

What is it that you really want to do? Because it's getting much more convoluted than it needs to be. Do you just want it to change from 1NE to 2NE and 3NE then back to 1NE again every time you press F2?
by boiler
11 Dec 2019, 10:13
Forum: Ask For Help
Topic: How to remove font color cast?
Replies: 5
Views: 233

Re: How to remove font color cast?

I didn't make it down to the comments before, but there's a whole lot more going on down there than I expected! Let's hope they stay away from our forum. :D
by boiler
11 Dec 2019, 10:09
Forum: Ask For Help
Topic: Parsing a label Topic is solved
Replies: 13
Views: 459

Re: Parsing a label Topic is solved

Sounds like you want it when it's >=3 (greater or equal to 3)

Code: Select all

Gosub, % ((n:=RegExReplace(InpurVar, "([A-Z]+)"))+(n>=3?-2:1)) . RegExReplace(InpurVar, "(\d+)")
by boiler
11 Dec 2019, 09:30
Forum: Ask For Help
Topic: Parsing a label Topic is solved
Replies: 13
Views: 459

Re: Parsing a label Topic is solved

In case you need it more generic, this will add 1 to whatever the number is (even if it's double digits) and follows it with whatever the letters are in case they're not "NE". InpurVar := "1NE" Gosub, % (RegExReplace(InpurVar, "([A-Z]+)")+1) . RegExReplace(InpurVar, "(\d+)") return 2NE: MsgBox, Hell...
by boiler
11 Dec 2019, 09:13
Forum: Ask For Help
Topic: fast image serch
Replies: 14
Views: 576

Re: fast image serch

A couple things that can help are to limit the search area to a smaller area of the screen instead of the whole screen if that's possible and to make the reference image as small as possible. The fewest pixels that you know will be uniquely found is best. Specific to your script: Since you are using...
by boiler
11 Dec 2019, 09:07
Forum: Ask For Help
Topic: HoverScroll and Microsoft Edge
Replies: 5
Views: 970

Re: HoverScroll and Microsoft Edge

Amunoto wrote:
11 Dec 2019, 07:44
I am searching for a mouse accelaration tool, too.
GGGlide is more of a mouse pointer momentum tool rather than acceleration tool, but it's great for touchpads.
by boiler
11 Dec 2019, 08:58
Forum: Ask For Help
Topic: How to remove font color cast?
Replies: 5
Views: 233

Re: How to remove font color cast?

You can turn off anti-aliasing/font smoothing at the Windows level if you'd like. It will cause text to look very jagged, but you can do it. Depending on your system, there may be easier ways to do it. Here is one article on how to do it: https://www.thewindowsclub.com/disable-font-smoothing-windows
by boiler
10 Dec 2019, 22:03
Forum: Ask For Help
Topic: Trouble with WinWaitClose and #If WinActive(stuffed with remaps) Topic is solved
Replies: 4
Views: 260

Re: Trouble with WinWaitClose and #If WinActive(stuffed with remaps) Topic is solved

The program flow doesn't continue executing past the first hotstring/hotkey/remap definition (unless directed to a label or something), so it never reaches the last two lines of your script. Try this: WinWait, ahk_class ConanDemo WinWaitClose MsgBox, Vengeance will have to wait. return ; end of auto...
by boiler
10 Dec 2019, 20:52
Forum: Ask For Help
Topic: Help for making copies from youtube pages Topic is solved
Replies: 3
Views: 211

Re: Help for making copies from youtube pages Topic is solved

I took it to mean that you had a results list of a search in YouTube and you wanted to extract all the titles. The following does that with YouTube results in Chrome when it is the active window. Press F1 and wait until you see the MsgBox saying it has copied the titles to the clipboard. SetTitleMat...
by boiler
10 Dec 2019, 20:08
Forum: Ask For Help
Topic: Mark text as Hotkey Topic is solved
Replies: 5
Views: 387

Re: Mark text as Hotkey Topic is solved

Yes. Nicely done. Just a few changes to get it working. See the comments. SAPI := ComObjCreate("SAPI.SpVoice") ~lbutton:: MouseGetPos, x0 KeyWait,lbutton, T2 ; use lbutton directly so it doesn't include "~"" MouseGetPos, x ; only check x because y0 can equal y and still be a mouse drag you want to c...
by boiler
10 Dec 2019, 17:02
Forum: Ask For Help
Topic: Logitech G513 FN key inversion script Topic is solved
Replies: 20
Views: 1332

Re: Logitech G513 FN key inversion script Topic is solved

I'm not able to recreate that with my keyboard (I'm on travel and away from my computer with the Logitech keyboard, which perhaps would work the same). Hopefully someone else can reproduce the issue and offer a solution.
by boiler
10 Dec 2019, 15:27
Forum: Ask For Help
Topic: Query String Splitter (Web URL) Topic is solved
Replies: 6
Views: 275

Re: Query String Splitter (Web URL) Topic is solved

That does seem to work, with [^&?]* being a stand-in for \w+ or maybe better [^=]+. You could probably successfully use any of them in place of what I did: Name := [], Value := [] URL := "http://www.website.com/folder1/folder2/site.aspx?ABC=xxxxxxx&DEF=xxxxxxx&GHI=&JKL=&MNO=&PQR=xxxxxxx&STU=xxxxxxx&...
by boiler
10 Dec 2019, 15:04
Forum: Ask For Help
Topic: Query String Splitter (Web URL) Topic is solved
Replies: 6
Views: 275

Re: Query String Splitter (Web URL) Topic is solved

Param := [] URL := "http://www.website.com/folder1/folder2/site.aspx?Param1=xxxxxxx&Param2=xxxxxxx&Param3=&Param4=&Param5=&Param6=xxxxxxx&Param7=xxxxxxx" Start := 1 while (Found := RegExMatch(URL, "Param\d+=([^&]*)", Match, Start)) { Param.Push(Match1) Start := Found + StrLen(Match1) + 1 } loop, % ...
by boiler
10 Dec 2019, 13:19
Forum: Ask For Help
Topic: Setting wallpapers up using AutoHotkey Topic is solved
Replies: 4
Views: 206

Re: Setting wallpapers up using AutoHotkey Topic is solved

See this thread.

Edit: Hellbent beat me to it again :P

Go to advanced search