Search found 188 matches

by AviationGuy
10 Feb 2020, 03:46
Forum: Wish List
Topic: ImageSearch: Click center of found image
Replies: 12
Views: 4622

Re: ImageSearch: Click center of found image

Of course, you can check the image size when you've created it yourself. But when you are making a script that clicks lots of buttons, this feels a bit repetitive to do and AHK is just there to eliminate repetitions. Next to this, it doesn't feel like that big of a deal to add it to the function (no...
by AviationGuy
07 Feb 2020, 04:22
Forum: RPA
Topic: Combining AI with RPA (&AHK)
Replies: 10
Views: 5020

Re: Combining AI with RPA (&AHK)

Thank you both for your explanations, sorry that I've been away for a while. The problem I faced was that I needed it to be (almost) perfect, 99% wasn't enough but I understand what you are saying. It can certainly be useful for some projects. Although it may not be perfect, it still will ensure tha...
by AviationGuy
07 Feb 2020, 03:54
Forum: Wish List
Topic: ImageSearch: Click center of found image
Replies: 12
Views: 4622

Re: ImageSearch: Click center of found image

@fkrause2, that would, indeed, be the way to go when you know the size of the image you are looking for (and the way I used).
However, my point was to click the center of an image you don't know the size of.
by AviationGuy
27 May 2019, 07:35
Forum: Ask For Help
Topic: Moving selected text within line with hotkey
Replies: 3
Views: 735

Re: Moving selected text within line with hotkey

Hi, thanks for the reply! Your solution doesn't work for me, I tested it in Notepad and it messed up my whole sentence. Could be that I did not explained it well enough... I played a bit more with it myself and this is what I came up with. (Maybe try this in Notepad and you'll see what I'm trying to...
by AviationGuy
27 May 2019, 03:57
Forum: Ask For Help
Topic: Moving selected text within line with hotkey
Replies: 3
Views: 735

Moving selected text within line with hotkey

Hi there, In MS Word you are able to move paragraphs up and down by holding shift & alt and using the up and down arrows. However, I would like to just move the selected word(s) left or right, like you are able to do in AHK Studio with the left & right arrow keys. In AHK Studio this will move the se...
by AviationGuy
24 May 2019, 05:29
Forum: Ask For Help
Topic: Help please, easy command - how to remap keys? Topic is solved
Replies: 2
Views: 466

Re: Help please, easy command - how to remap keys? Topic is solved

Hi there!
Try,

Code: Select all

Backspace:: send {ctrl down}{Backspace}{ctrl up}
by AviationGuy
24 May 2019, 05:17
Forum: Ask For Help
Topic: Font color
Replies: 14
Views: 1925

Re: Font color

Haha, you are probably right WotD MachteldV Oke, I think I understand what you want a bit more clear rn. While it isn't pretty, you could try something like this. ; make selected red ^1:: send !o send fc send {down 7}{left 4}{enter} return ; make selected black ^2:: send !o send fc send {enter} retu...
by AviationGuy
24 May 2019, 04:38
Forum: Ask For Help
Topic: Font color
Replies: 14
Views: 1925

Re: Font color

Wel he! :) De code die ik stuurde kan je in Notepad++ plakken, of welke editor dan ook, en wanneer je deze runt, dmv ctrl+1 (en mail actief is, Outlook in dit geval) wordt het script geactiveerd. Send % Clipboard plakt de tekst die je in je clipboard heb gezet dmv ctrl+c/x. De kleur van specifieke d...
by AviationGuy
24 May 2019, 04:13
Forum: Ask For Help
Topic: Font color
Replies: 14
Views: 1925

Re: Font color

Als je het font van een email wilt aanpassen moet je zorgen dat je AHK script dezelfde acties uitvoert als de persoon dat zal doen. ^1:: ; hotkey send ^n ; open new mail send {tab 3} ; go to mail textbox send !o ; alt+o, open menu shortcut send fc ; select textcolor MouseClick on color ; je kan hier...
by AviationGuy
24 May 2019, 04:01
Forum: Gaming
Topic: Need help with a script
Replies: 1
Views: 494

Re: Need help with a script

Hi there,
Try Sleep % rand
by AviationGuy
23 May 2019, 06:56
Forum: Wish List
Topic: ImageSearch: Click center of found image
Replies: 12
Views: 4622

Re: ImageSearch: Click center of found image

Oke, I understand. Thanks for the information!
swagfag wrote:
22 May 2019, 07:26
Maybe we should add yet another flag to ImageSearch so u can specify which pixel u want the image's center to be?
I like this idea tho :thumbup:
by AviationGuy
22 May 2019, 09:31
Forum: RPA
Topic: Combining AI with RPA (&AHK)
Replies: 10
Views: 5020

Re: Combining AI with RPA (&AHK)

Only data for the input boxes or could the AI database also provide information for the RPA bot on where the RPA bot needs to click on the screen based on what's on the screen? Is it better when I phrase it like this? Do you have any examples where AI could be applied to an AHK script, except for a...
by AviationGuy
22 May 2019, 07:16
Forum: Wish List
Topic: ImageSearch: Click center of found image
Replies: 12
Views: 4622

Re: ImageSearch: Click center of found image

Thanks for the reply's :) boiler , oke, but I assume an image size isn't rounded to 0 digits then? Or, why not just round off the found center coords? Has this to do with multiple unnecessary steps nnnik mentioned? And why not just give the option as parameters that could be left out within the func...
by AviationGuy
21 May 2019, 15:49
Forum: Wish List
Topic: ImageSearch: Click center of found image
Replies: 12
Views: 4622

ImageSearch: Click center of found image

Hi there, Since I'm not a programmer, I don't know if there is a logical explanation for this, but I was wondering why the ImageSearch function returns the upper left coords of the found image and not the center? Why would someone click the uppermost corner of an image? Let's suppose you want to cli...
by AviationGuy
21 May 2019, 14:57
Forum: RPA
Topic: Combining AI with RPA (&AHK)
Replies: 10
Views: 5020

Re: Combining AI with RPA (&AHK)

burque505 , interesting! Bizagi seems to be a company that provides software robots if I've seen correctly. Seems to offer about the same products as the company I'm doing my internship atm. And they have AirFrance as a customer! I will definitely look more into that. Also, ik kom uit de buurt van ...
by AviationGuy
21 May 2019, 10:22
Forum: RPA
Topic: Combining AI with RPA (&AHK)
Replies: 10
Views: 5020

Combining AI with RPA (&AHK)

My name is Max and I'm a 3rd year Aviation Studies student @Amsterdam. ATM, I'm doing an internship and the goal of my research is to see if it is possible to combine AI with RPA (Intelligent RPA) and how AI can support complex decision-making tasks. Next to this I'm looking into appying AI to AHK. ...
by AviationGuy
14 May 2019, 02:58
Forum: Ask For Help
Topic: Sending Alt Not Working Topic is solved
Replies: 3
Views: 654

Re: Sending Alt Not Working Topic is solved

gregster wrote:
13 May 2019, 15:13
When you send a modifier like Alt alone, you might have to release other modifiers first:
Great! I've been wondering about this for a while, thanks!
by AviationGuy
14 May 2019, 02:50
Forum: Ask For Help
Topic: Can’t figure out a super simple script
Replies: 2
Views: 550

Re: Can’t figure out a super simple script

Hi there!

Try,

Code: Select all

/::send, {f3}b
by AviationGuy
14 May 2019, 02:39
Forum: Ask For Help
Topic: I want to set the shortcut key for "translate this page" of Google translation plugin. How do I do it?
Replies: 5
Views: 922

Re: I want to set the shortcut key for "translate this page" of Google translation plugin. How do I do it?

Hi there,

You can use ImageSearch

Code: Select all

^t::
FilePath:="C:\Path.png"
loop
	ImageSearch, FoundX, FoundY, 0, 0, A_Screenwidth, A_Screenheight, %FilePath%
Until !ErrorLevel
	MouseClick,, FoundX, FoundY
return
Hope this helps!

Go to advanced search