Search found 53 matches

by grimboto
18 Feb 2022, 18:05
Forum: Ask for Help (v1)
Topic: Help with chrome.ahk and sending event
Replies: 1
Views: 692

Help with chrome.ahk and sending event

Hey I have been Automating a website using COM and IE but they recently updated there website and now it doesn't display in IE anymore so I'm trying to convert my old script over to Chrome using chrome.ahk. The website displays a list and has a filter input box that updates the list as you type in i...
by grimboto
09 Jun 2021, 00:36
Forum: Ask for Help (v1)
Topic: Listen For CursorDown Event - Happy to pay if someone can figure this out!
Replies: 9
Views: 1234

Re: Listen For CursorDown Event - Happy to pay if someone can figure this out!

So I've been having a look around and it looks like I should be using the RealTimeStylus object instead of the InkCollector Object as it suits my needs better. I've managed to create the RealTimeStylus object and it appears to work but i'm having trouble connecting to the events. I need to create a ...
by grimboto
07 Jun 2021, 04:25
Forum: Ask for Help (v1)
Topic: Listen For CursorDown Event - Happy to pay if someone can figure this out!
Replies: 9
Views: 1234

Re: Listen For CursorDown Event - Happy to pay if someone can figure this out!

The code I'm currently using is part of a much larger script and hard to separate into just the part I want to uses this for. I'm basically making a touch interface for a old program that doesn't have one. So the user draws on the screen then it gets converted into a line in the program. My main goa...
by grimboto
06 Jun 2021, 21:32
Forum: Ask for Help (v1)
Topic: Listen For CursorDown Event - Happy to pay if someone can figure this out!
Replies: 9
Views: 1234

Re: Listen For CursorDown Event - Happy to pay if someone can figure this out!

Thanks swagfag that looks very helpful. Do you know if its possible to monitor the events without displaying the gui on the screen? I tried a transparent gui with window style +E0x20 to make it so i can click through but then it stopped receiving the events. If not would you have a link to where i c...
by grimboto
04 Jun 2021, 01:32
Forum: Ask for Help (v1)
Topic: Listen For CursorDown Event - Happy to pay if someone can figure this out!
Replies: 9
Views: 1234

Re: Listen For CursorDown Event - Happy to pay if someone can figure this out!

bump still looking for a solution for this if anyone has any ideas?
by grimboto
25 Nov 2020, 16:33
Forum: Ask for Help (v1)
Topic: Add items to shopping cart using API
Replies: 2
Views: 473

Add items to shopping cart using API

Hey I stock the bar at my local cricket club and order a lot of alcohol from an online store and looking to fast track the ordering process. I'm trying to add items into the cart directly using the api from the website. I'm not sure how to go about logging in and then adding the item to my specific ...
by grimboto
11 Dec 2019, 15:29
Forum: Ask for Help (v1)
Topic: save winHTTPRequest response as an image
Replies: 1
Views: 659

Re: save winHTTPRequest response as an image

Sorry i figured it out vStream := Http.ResponseStream if (ComObjType(vStream) = 0xD) { ;VT_UNKNOWN = 0xD pIStream := ComObjQuery(vStream, "{0000000c-0000-0000-C000-000000000046}") ;defined in ObjIdl.h oFile := FileOpen( A_ScriptDIr "\ms-banner.png", "w") Loop { VarSetCapacity(Buffer, 8192) hResult :...
by grimboto
11 Dec 2019, 15:18
Forum: Ask for Help (v1)
Topic: save winHTTPRequest response as an image
Replies: 1
Views: 659

save winHTTPRequest response as an image

I'm generating a url to send using winHttpRequest that returns Image data but i can't figure out how to save the returned data as a file. HTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1") ;Create COM Object generatedURL := "https://gis.mapshare.vic.gov.au/arcgis/rest/services/mapshare/PropertyAndPa...
by grimboto
08 Sep 2019, 01:20
Forum: Ask for Help (v1)
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 3743

Re: Retrieving Elements Within a Frame

try adding parentWindow

Code: Select all

wb.document.parentWindow.frames["main"].document.getElementsByName("iw_board_deviceName")[0].value
by grimboto
10 Aug 2019, 03:13
Forum: Ask for Help (v1)
Topic: Help With IE COM Input box that has autocomplete results
Replies: 1
Views: 524

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 (v1)
Topic: Listen For CursorDown Event - Happy to pay if someone can figure this out!
Replies: 9
Views: 1234

Listen For CursorDown Event - Happy to pay if someone can figure this out!

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 (v1)
Topic: Help With Advanced MultImage Search Topic is solved
Replies: 2
Views: 929

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 (v1)
Topic: GDIP filter all but a certain color out of an image Topic is solved
Replies: 6
Views: 2660

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 (v1)
Topic: GDIP filter all but a certain color out of an image Topic is solved
Replies: 6
Views: 2660

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 (v1)
Topic: Newbie grappling with COM
Replies: 8
Views: 1861

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 (v1)
Topic: Help getting started with the IRealTimeStylus object
Replies: 1
Views: 875

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 (v1)
Topic: Help getting started with the IRealTimeStylus object
Replies: 1
Views: 875

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 (v1)
Topic: LoopReadLine, works, can't get it to work as a function Topic is solved
Replies: 2
Views: 935

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 (v1)
Topic: Sound file doesnt play unless I press Enter?
Replies: 15
Views: 4366

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...

Go to advanced search