Search found 44 matches

by grimboto
10 Aug 2019, 03:13
Forum: Ask For Help
Topic: Help With IE COM Input box that has autocomplete results
Replies: 1
Views: 96

Help With IE COM Input box that has autocomplete results

Im trying to automate a website to look up address. it has a search box that when you type in it it lists suggested address in a list under the searchbox. im trying to retrieve the values that it suggests. the below code navigates to the website and sets a value in the search box but no suggestions ...
by grimboto
23 Jun 2019, 06:08
Forum: Ask For Help
Topic: Listen For CursorDown Event
Replies: 0
Views: 127

Listen For CursorDown Event

I'm using a stylus to draw on the screen using GDIP and there is a small delay between when the stylus touches the screen and the line starts drawing. After a bit of research i found the below article that describes the timeline of events when a stylus is used. https://docs.microsoft.com/en-us/windo...
by grimboto
27 Feb 2019, 19:38
Forum: Ask For Help
Topic: Help With Advanced MultImage Search Topic is solved
Replies: 2
Views: 248

Re: Help With Advanced MultImage Search Topic is solved

the below line is an expression so change it to whats below

Code: Select all

CenterImgSrchCoords(A_ScriptDir "\Imagens\Screen_L1" . var . ".png", FoundX, FoundY)
by grimboto
05 Feb 2019, 18:30
Forum: Ask For Help
Topic: GDIP filter all but a certain color out of an image Topic is solved
Replies: 4
Views: 518

Re: GDIP filter all but a certain color out of an image Topic is solved

thanks that works well, its a little slow but gets the job done.

cheers
by grimboto
05 Feb 2019, 17:21
Forum: Ask For Help
Topic: GDIP filter all but a certain color out of an image Topic is solved
Replies: 4
Views: 518

GDIP filter all but a certain color out of an image Topic is solved

hey i have a little function that launches windows screen sketch and then saves the image to file after the copy to clipboard button is pressed. I will only ever be using the red pen to draw on these images. Just looking for a way to save another copy of the image that only contains the lines i've d...
by grimboto
09 Sep 2018, 17:00
Forum: Ask For Help
Topic: Newbie grappling with COM
Replies: 8
Views: 695

Re: Newbie grappling with COM

start the timer before the ItemToPrint.Printout

Code: Select all

	SetDefaultPrinter(Microsoft Print to PDF)
	ItemToPrint := ComObjActive("Word.Application").ActiveDocument
	
	;start the timer here
	ItemToPrint.Printout
	
	Click, Edit2, Save Print Output As ahk_exe WINWORD.EXe
	
	
by grimboto
19 Aug 2018, 03:58
Forum: Ask For Help
Topic: Help getting started with the IRealTimeStylus object
Replies: 1
Views: 300

Re: Help getting started with the IRealTimeStylus object

a couple more links i found looks like i need a istylusplugin object aswell https://docs.microsoft.com/en-us/windows/desktop/api/rtscom/nn-rtscom-istylusplugin and the function stylusdown https://docs.microsoft.com/en-us/windows/desktop/api/rtscom/nf-rtscom-istylusplugin-stylusdown but i'm still not...
by grimboto
05 Aug 2018, 06:25
Forum: Ask For Help
Topic: Help getting started with the IRealTimeStylus object
Replies: 1
Views: 300

Help getting started with the IRealTimeStylus object

I'm trying to get data when ever a stylus or touch screen is used, at the moment just looking at getting the x y position when the stylus/finger is pressed down and released then modify it. After having a look around i found the IRealTimeStylus object https://docs.microsoft.com/en-us/windows/desktop...
by grimboto
20 Jun 2018, 02:33
Forum: Ask For Help
Topic: LoopReadLine, works, can't get it to work as a function Topic is solved
Replies: 2
Views: 336

Re: LoopReadLine, works, can't get it to work as a function Topic is solved

func(kolx,varx,koly,vary,kolz,varz) { global items static col loop read, % "n.csv" { if a_loopreadline = "" continue col := strSplit(a_loopreadline, ";", " `t" ) if (col[kolx] = varx) && (col[koly] = vary) && (col[kolz] != varz) items .= A_index ";" ;remove return form this line it exits the functi...
by grimboto
07 Jun 2018, 19:16
Forum: Ask For Help
Topic: Sound file doesnt play unless I press Enter?
Replies: 15
Views: 1588

Re: Sound file doesnt play unless I press Enter?

while(!WinActive("Item Not Found!")){ ;Wait for Window to become active sleep 20 } if WinActive("Item Not Found!") SoundGet, master_mute, , mute ; this will check if volume is muted or therwise if ( master_mute == "On" ) SoundSet, +1, , mute ; this will unmute SoundSet +100 ; Raise volume to 100% S...
by grimboto
30 May 2018, 00:58
Forum: Ask For Help
Topic: Help Sending a WM_command Message
Replies: 2
Views: 395

Re: Help Sending a WM_command Message

thanks that worked perfectly
by grimboto
29 May 2018, 19:54
Forum: Ask For Help
Topic: Help Sending a WM_command Message
Replies: 2
Views: 395

Help Sending a WM_command Message

I'm trying to sned a WM Command Message to Illustrator CS4. using Winspector Spy i see the following message is sent when i click on the menu item i'm trying to activate. WM Command.png I've tried the following code postMessage, 0x111, 96, 33024, , Adobe Illustrator CS4 but the message received by I...
by grimboto
21 Apr 2018, 18:57
Forum: Ask For Help
Topic: Help clicking java script button
Replies: 3
Views: 479

Re: Help clicking java script button

if its in a frame maybe try this.

WB.document.parentWindow.frames["content_frame"].document.getElementById("btn_div").click()
by grimboto
27 Mar 2018, 21:36
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 232
Views: 36820

Re: AutoHotInterception - Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

thanks for the offer @evilC unfortunately i don't know any C#. I'm keen to try the version with the added mouse support but the AutoHotInterception.dll seems to be missing from the libary folder in the latest update.
by grimboto
27 Mar 2018, 20:16
Forum: Ask For Help
Topic: Trying to find a smarter way to reduce redundancy in code Topic is solved
Replies: 2
Views: 331

Re: Trying to find a smarter way to reduce redundancy in code Topic is solved

Code: Select all

F1::
F2::
F3::
F4::
F5::
F6::
F7::
F8::
F9::
F10::
F11::
F12::
MsgBox, You pressed %A_ThisHotkey% button!
Return
by grimboto
18 Mar 2018, 16:32
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 232
Views: 36820

Re: AutoHotInterception - Per-keyboard hotkeys for AHK (Fire macros in response to key on a 2nd keyboard)

its a Lenovo Yoga, the pen seems to use the wacom drivers though.
From the quick tests i've done interception can see when the barrel buttons are pressed but doesn't seem to get anything when the pen itself taps on the screen
by grimboto
14 Mar 2018, 22:56
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 232
Views: 36820

Re: AutoHotInterception - Per-keyboard hotkeys for AHK (Fire macros in response to key on a 2nd keyboard)

when Windows rolled out the fall creators update, they changed the way the pen works. it used to work like a mouse where you could click and drag to select items on the screen, now if you click and drag it scrolls the window instead which is very annoying and i was looking for a solution to change i...

Go to advanced search