Search found 85 matches

by berban
13 Aug 2019, 18:33
Forum: Ask For Help
Topic: Randomizing distribution points on a list of things
Replies: 5
Views: 504

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

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: 106
Views: 31816

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: 106
Views: 31816

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: 106
Views: 31816

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: 106
Views: 31816

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: 20
Views: 6252

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: 20
Views: 6252

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

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: 4
Views: 1328

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: 4
Views: 1328

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: 20
Views: 6252

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: 20
Views: 6252

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.
by berban
13 Dec 2018, 00:04
Forum: Scripts and Functions
Topic: CSV Table Functions - ReadTable(), WriteTable(), SortTable()
Replies: 1
Views: 505

CSV Table Functions - ReadTable(), WriteTable(), SortTable()

I have these simple functions for dealing with CSV table files and I thought I'd share them here. I'm sure others might have similar functions but here's a few more. These functions are built to handle cells with multiple lines or literal commas. The resulting tables are treated as 2-dimensional Aut...
by berban
28 Sep 2018, 06:23
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 106
Views: 31816

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

The o options have definitely proven themselves to be finicky to me. Any explanation for my confusion with why FindClick requires Screen coordinates to find things in a Relative window? -JenJen FindClick doesn't use CoordMode at all. It is completely separate. All you need to know is that the coord...
by berban
28 Sep 2018, 06:19
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 106
Views: 31816

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

Hello berban Nice Script you have here and I would love to use it, but I can't seem to make it work...I downloaded the script from github and tried running it but no gui is showing or anything Is there anything I should do before? Hi FastLearner , Yes, FindClick is an AutoHotkey function so you'll ...
by berban
22 Sep 2018, 16:50
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 106
Views: 31816

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

Well it looks like you’re doing it right. At this point it’s just an issue with the underlying imagesearch technique. By which I guess I mean the image really isn’t matching, even if to your eyes it looks like it should. Personally I never use the trans- feature, except for maybe once or twice. In t...
by berban
21 Sep 2018, 09:22
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 106
Views: 31816

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

Hahaha no worries about the repeat posting. It’s clear you are working pretty hard on whatever script you are writing, and it’s the least I can do to give you a small hand with this particular part of it. That being said there was a lot in there so I might not get to everything. But here’s a few res...
by berban
20 Sep 2018, 08:00
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 106
Views: 31816

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

Hi JenJen, Thank you for the thorough investigation of the issue you're having. I'm always appreciative if bugs can be found, and a clear explanation makes identifying them way easier. I'm a little confused by the exact issue you're having however, although your sample code has given me an idea. If ...
by berban
03 Sep 2018, 18:33
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 106
Views: 31816

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

Well I can't walk you through the entire process but I did make a "Quick-Start Guide" chapter in the documentation that you should check out. You should also read the entire chapter on AutoHotkey Functions in the AutoHotkey documentation, as I also point out in the FindClick guide.

Go to advanced search