Search found 74 matches

by berban
06 Feb 2019, 10:09
Forum: Scripts and Functions
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 14
Views: 4070

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: 14
Views: 4070

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

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: 95
Views: 23062

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: 95
Views: 23062

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: 95
Views: 23062

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: 95
Views: 23062

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: 95
Views: 23062

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: 95
Views: 23062

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.
by berban
04 Aug 2018, 18:54
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Yeah it’s

Code: Select all

FindClick(Image, "e n2")
(Maybe you know that already but just wanted to repeat it in case.)

Let me know if you have any other questions!
by berban
03 Aug 2018, 07:38
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Hi carno , sorry for the delay. You are right there is a simple way - use the "n" option. n – Number of clicks What to give: any integer Description: The number of times to click on each image. Use it like this: FindClick(Image, "e n2") If you want to vary the amount of time between clicks, you can ...
by berban
25 Jun 2018, 18:38
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Glad it works. Wish I had room for 3 monitors haha. Happy scripting! :D
by berban
22 Jun 2018, 08:55
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Hm interesting, well you could try a few things like adding "stay" so it doesn’t move away, or "n2" for doing a double click. But maybe the way you were originally doing it is more reliable. If it is clicking in the right spot and the window isn’t responding correctly that’s probably not the best wa...
by berban
21 Jun 2018, 03:45
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Thanks for the helpful gifs! So I'm still not completely sure why it wouldn't work but my suggestion would be that for the ribbon one, I generally use the alt keys for those. For instance, in Microsoft Word, if I want to access the ribbon I just press Alt and the accelerator keys show up in little b...
by berban
17 Jun 2018, 10:38
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Hi daffy82 , sorry but I can't tell you based on what you've posted. Nothing in that code would prevent it from working correctly. A few comments I could give you: k{click} [/color] and Center1 [/color] are not needed. The default behavior is to click at the center of the image. Try using the dx [/c...
by berban
29 May 2018, 14:08
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Hi dice4321 , So the way AutoHotkey's ImageSearch command works, it basically scans the visible screen area for the image, which is essentially the same area that you can see with your two eyes. If the image is hidden behind another window and you can't physically see it, then this won't work. You'd...
by berban
07 May 2018, 08:48
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Yes Xtra is absolutely correct. If for some reason you don’t have privileges for %A_Temp%, or if you’d simply prefer to use another directory, you can change this line in the code: TempFile = %A_Temp%\%A_ThisFunc%Temp.png ; Directory where a temporary imagefile will be created (ImageSearch only acce...
by berban
05 May 2018, 00:53
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Hm... ErrorLevel is set to 0 if the image was found in the specified region, 1 if it was not found, or 2 if there was a problem that prevented the command from conducting the search (such as failure to open the image file or a badly formatted option). Have you used imagesearch in the past without is...
by berban
04 May 2018, 23:15
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Can you try some other image in another window? like maybe the solid white background of notepad.exe? If all else fails, look at the step where it says "performing imagesearch". In the text box it should show the actual code used, something along the lines of ImageSearch, FoundX, FoundY, 0, 0, 1919 ...
by berban
04 May 2018, 23:00
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 95
Views: 23062

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

Really? And the image that pops up under the "image preview" step looks like the area inside the box? You can make the box bigger if you want, but as far as using ImageSearch in general goes I would highly recommend going no larger than about 10x10. The larger an image you have, the more chances the...

Go to advanced search