Search found 92 matches

by berban
09 Nov 2019, 19:52
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 119
Views: 37596

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Oh yeah that’s supposed to be a user setting section of the code. You put true/false depending on if you want the box to be checked by default, or not. Personally I don’t usually use that feature much, I mostly use it to create small images only which I then save to my default dir for use in whateve...
by berban
09 Nov 2019, 07:35
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 119
Views: 37596

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Oh I see what you mean. Yeah I have a separate hotkey to get coordinates on a window or screen. I use that for findclick but also for other ahk-related stuff
by berban
06 Nov 2019, 07:32
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 119
Views: 37596

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Thanks for the kind words!! I may want to create a version of it where you can choose for the search area to be positioned relative to a corner of a window, so that you can e.g. easily pick an button that is always in a certain area that is a number of pixels off the bottom of the window and a numbe...
by berban
04 Nov 2019, 21:23
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 119
Views: 37596

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Thanks for answering the question Cerberus , you're the man!! I haven't been able to get around to any AHK-related stuff lately :cry: But you explained it better than I'd be able to, to be honest. And Oblituarius , yeah my bad again that's on my to-do list but I can't give you a real ETA unfortunate...
by berban
02 Oct 2019, 09:55
Forum: Scripts and Functions
Topic: Clip() - Send and Retrieve Text using the Clipboard
Replies: 11
Views: 2781

Re: Clip() - Send and Retrieve Text using the Clipboard

Hey someguyinKC,

Sorry I didn't get a notification for some reason. But boiler is correct, that is how you would do it. (In fact I didn't know about the "X" option for hotstrings so I am glad they posted!)

Let me know if you have any further questions.
by berban
11 Sep 2019, 15:31
Forum: Scripts and Functions
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 7579

Re: eGet() - Grab Internet Explorer Elements Easily

Actually, I think I might have misread the screenshot. Does it not work if you just do eGet("button", "Login") ?
by berban
11 Sep 2019, 15:26
Forum: Scripts and Functions
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 7579

Re: eGet() - Grab Internet Explorer Elements Easily

Hey eekhelpspike , If it's tough to narrow down an element by its attributes (as it seems is the case there), you can sometimes access it more easily by grabbing a nearby element that has more defining information and then navigating across the DOM to your destination using some of the built-in prop...
by berban
13 Aug 2019, 18:33
Forum: Ask For Help
Topic: Randomizing distribution points on a list of things
Replies: 5
Views: 738

Re: Randomizing distribution points on a list of things

Hey kyuuuri ! I was intrigued by this question so I actually made a function to create normally distributed random numbers. You can find the code here: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=67066 What this does is allows you to get a random number that is weighted around a central va...
by berban
13 Aug 2019, 18:15
Forum: Scripts and Functions
Topic: Gaussian (normal distribution) random number generator
Replies: 0
Views: 380

Gaussian (normal distribution) random number generator

This function generates a random number with a gaussian or normal distribution (i.e. a bell curve). More info here: https://en.wikipedia.org/wiki/Normal_distribution This function was originally created to answer the question on this post rand_gaussian(standard_deviation, mean=0, overflow_error=true...
by berban
26 Jun 2019, 21:25
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 119
Views: 37596

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Thanks for the kind words carno! :)

Could you provide me with more details, godofOOF?
by berban
05 Jun 2019, 19:35
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 119
Views: 37596

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Yeah, you can use the "n" option to not click on anything. The mouse will not move either in that case.
by berban
31 Mar 2019, 19:02
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 119
Views: 37596

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Hi Oblituarius , happy to help. I just tried using the directional option (e.g. "bottom") and was dismayed to find it didn't seem to be working. There's a bunch of options in here that I don't really use myself, and unfortunately sometimes when I tweak something sometimes it screws up something else...
by berban
15 Mar 2019, 10:45
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 119
Views: 37596

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Hi dice4321 , thanks for pointing this out. Your screenshot was very helpful in demonstrating what you are referring to. The way the function chooses the window is pretty simple, you can see it on lines 617 through 623 . Basically it uses WinGet, List to get a list of all windows and chooses the top...
by berban
12 Mar 2019, 10:04
Forum: Scripts and Functions
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 7579

Re: eGet() - Grab Internet Explorer Elements Easily

GeekDude has this fantastic library for working with chrome that you can find here: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=42890 Unfortunately because the integration isn’t native like with COM each command takes longer. So I think it wouldn’t be feasible to loop through hundreds of e...
by berban
11 Mar 2019, 05:11
Forum: Scripts and Functions
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 7579

Re: eGet() - Grab Internet Explorer Elements Easily

Thanks magusneo! I don't really know what to make of that but thanks for posting, someone else may be able to use it.
by berban
24 Feb 2019, 20:52
Forum: Scripts and Functions
Topic: Set laptop brightness & show Win 10's native OSD
Replies: 12
Views: 5689

Re: Set laptop brightness & show Win 10's native OSD

This is so helpful! I wish I had found it long ago. Thanks!!
by berban
18 Feb 2019, 23:31
Forum: Scripts and Functions
Topic: Clip() - Send and Retrieve Text using the Clipboard
Replies: 11
Views: 2781

Re: Clip() - Send and Retrieve Text using the Clipboard

TAC109 wrote:
18 Feb 2019, 22:13
BTW, the link to the old post at the beginning doesn’t seem to work.
Thanks for catching that! Updated.
by berban
18 Feb 2019, 21:38
Forum: Scripts and Functions
Topic: Clip() - Send and Retrieve Text using the Clipboard
Replies: 11
Views: 2781

Clip() - Send and Retrieve Text using the Clipboard

Clip() - Send and Retrieve Text using the Clipboard This is an update to an old post in order to bring it to the new live version of the forums. The old post is here: https://autohotkey.com/board/topic/70404-clip-send-and-retrieve-text-using-the-clipboard/ Using the windows clipboard with AutoHotke...
by berban
06 Feb 2019, 10:09
Forum: Scripts and Functions
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 7579

Re: eGet() - Grab Internet Explorer Elements Easily

There are some treeview like controls in our intranet webpage.I need click the '+' or '-' in front of some text. Like this. Could you show me the HTML for that part of the page? To do that, right-click on the area and select "Inspect Element". Then right-click on one of the parent elements and choo...
by berban
05 Feb 2019, 17:32
Forum: Scripts and Functions
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 7579

Re: eGet() - Grab Internet Explorer Elements Easily

magusneo wrote:
03 Feb 2019, 07:35
How about adding "BeforeTag","BeforeText" arguments?
Hey magusneo,
Sorry but I haven't used this function in ages so I haven't kept it updated. But if you can show me the webpage you are trying to use it on maybe I can help you find an alternate way to do whatever you're attempting.

Go to advanced search