Hi @elbitjusticiero,
Thanks for bringing this to my attention! I put it on the V2 forums here: viewtopic.php?f=83&t=118764
Let me know if you see any issues with it. I altered what you had slightly according to my understanding of the differences with V2!
Berban
Search found 97 matches
- 23 Jun 2023, 17:43
- Forum: Scripts and Functions (v1)
- Topic: Clip() - Send and Retrieve Text using the Clipboard
- Replies: 26
- Views: 22703
- 23 Jun 2023, 17:39
- Forum: Scripts and Functions (v2)
- Topic: Clip() - Send and Retrieve Text using the Clipboard
- Replies: 4
- Views: 1613
Clip() - Send and Retrieve Text using the Clipboard
Clip() - Send and Retrieve Text using the Clipboard This is an update to the V1 post here . Thanks to elbitjusticiero for bringing it to my attention that people might still be using it. Note, please let me know if there are errors in my usage of V2 since a lot of this stuff I learned just now in o...
- 09 Sep 2021, 20:30
- Forum: Scripts and Functions (v1)
- Topic: Clip() - Send and Retrieve Text using the Clipboard
- Replies: 26
- Views: 22703
Re: Clip() - Send and Retrieve Text using the Clipboard
I’m not aware of any way to easily do that with autohotkey, not with the default commands at least. You might have to dive into dllcalls to either use an alternate copy/paste or to change the clipboard history. Sorry about that!
- 29 Aug 2020, 10:12
- Forum: Scripts and Functions (v1)
- Topic: Gaussian (normal distribution) random number generator
- Replies: 3
- Views: 4329
Re: Gaussian (normal distribution) random number generator
Actually - after I posted this, I realized there is a much simpler method haha. This is using the Box-Muller transform . So I guess I should update this with that version. No table or anything required. It's computationally intense for a classical cpu, but for AutoHotkey it is probably faster becaus...
- 15 May 2020, 16:53
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Hey! Sorry I've been away from AutoHotkey for a while, but thank you so much to all of those who have been answering questions on here, you guys are the best! boiler is right, usually Windows will automatically apply a scaling factor without telling you. In many applications (though not all) this wi...
- 09 Nov 2019, 19:52
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
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...
- 09 Nov 2019, 07:35
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
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
- 06 Nov 2019, 07:32
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
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...
- 04 Nov 2019, 21:23
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
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...
- 02 Oct 2019, 09:55
- Forum: Scripts and Functions (v1)
- Topic: Clip() - Send and Retrieve Text using the Clipboard
- Replies: 26
- Views: 22703
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.
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.
- 11 Sep 2019, 15:31
- Forum: Scripts and Functions (v1)
- Topic: eGet() - Grab Internet Explorer Elements Easily
- Replies: 24
- Views: 13547
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") ?
- 11 Sep 2019, 15:26
- Forum: Scripts and Functions (v1)
- Topic: eGet() - Grab Internet Explorer Elements Easily
- Replies: 24
- Views: 13547
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...
- 13 Aug 2019, 18:33
- Forum: Ask for Help (v1)
- Topic: Randomizing distribution points on a list of things
- Replies: 5
- Views: 1699
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...
- 13 Aug 2019, 18:15
- Forum: Scripts and Functions (v1)
- Topic: Gaussian (normal distribution) random number generator
- Replies: 3
- Views: 4329
Gaussian (normal distribution) random number generator
Better version given below: https://www.autohotkey.com/boards/viewtopic.php?p=349968#p349968 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 ...
- 26 Jun 2019, 21:25
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Thanks for the kind words carno!
Could you provide me with more details, godofOOF?
Could you provide me with more details, godofOOF?
- 05 Jun 2019, 19:35
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
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.
- 31 Mar 2019, 19:02
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
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...
- 15 Mar 2019, 10:45
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110425
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...
- 12 Mar 2019, 10:04
- Forum: Scripts and Functions (v1)
- Topic: eGet() - Grab Internet Explorer Elements Easily
- Replies: 24
- Views: 13547
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...
- 11 Mar 2019, 05:11
- Forum: Scripts and Functions (v1)
- Topic: eGet() - Grab Internet Explorer Elements Easily
- Replies: 24
- Views: 13547
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.