Search found 296 matches

by iilabs
07 Oct 2023, 17:52
Forum: Ask for Help (v1)
Topic: Read serial flow USB - Serial.ahk
Replies: 2
Views: 4094

Re: Read serial flow USB - Serial.ahk

Hello, did you ever find the answer on how to communicate with Arduino and ahk? If so please post. I
by iilabs
07 Oct 2023, 17:41
Forum: Ask for Help (v1)
Topic: Reading Serial Port COM RS485 via USB CDC with AHK
Replies: 5
Views: 1575

Re: Reading Serial Port COM RS485 via USB CDC with AHK

I also get the same error.
Please if someone could help come up with a solution to help read off the serial port like a keyboard emulation speed so that I can use AHK to run subroutines prior to sending keystrokes, like activating certain windows, move the mouse, etc. Thank you
by iilabs
05 Oct 2023, 09:34
Forum: Ask for Help (v1)
Topic: Serial Port (COM) Sniffer
Replies: 1
Views: 660

Re: Serial Port (COM) Sniffer

I also having difficulty trying to read serial port and not much help out there. Did you ever figure it out?
by iilabs
04 Oct 2023, 09:11
Forum: Scripts and Functions (v1)
Topic: Class Serial
Replies: 4
Views: 2381

Re: Class Serial

Can you please help me figure out how to connect my Arduino to read serial? I was able to move my com port to 2 since I've read lib cant handle com ports > 9? I am still trying to figure out how to get data from the arduino. When you discuss ASCII basically I need to send ascii codes instead of typi...
by iilabs
03 Oct 2023, 22:00
Forum: Ask for Help (v1)
Topic: Read COM3 Port Topic is solved
Replies: 6
Views: 1405

Re: Read COM3 Port Topic is solved

Hello and thank you for this interesting topic! How would I do this in Reverse? For example I’m trying to have ahk read two variables coming in on the Com17 (sometimes Com15 depends on when I plug in my microcontroller). I would like to use this data for ahk code to do stuff I normally cannot do wit...
by iilabs
25 Jun 2023, 14:43
Forum: Scripts and Functions (v1)
Topic: Internet Explorer / FireFox - Activate Tab (UIA - 64bit AHK)
Replies: 15
Views: 9211

Re: Internet Explorer / FireFox - Activate Tab (UIA - 64bit AHK)

Hi UI Automators, Ive been able to access below controls using regular AHK controlclick etc, but having trouble accessing this list box (EPListWnd1). Could I attempt such using UI Automation. My problem now is I am using Mouse and Mouse Click which becomes unreliable at times. Send, {F7} ;Toggles th...
by iilabs
25 Jun 2023, 14:29
Forum: Ask for Help (v1)
Topic: An OLD favorite Confusion: Class NN and still foggy!
Replies: 7
Views: 452

Re: An OLD favorite Confusion: Class NN and still foggy!

So I tried several commands without luck. Can you point me in the right direction for the UI automation. Is this a seperate class I need to download and include in my script?
by iilabs
25 Jun 2023, 09:49
Forum: Ask for Help (v1)
Topic: An OLD favorite Confusion: Class NN and still foggy!
Replies: 7
Views: 452

Re: An OLD favorite Confusion: Class NN and still foggy!

Is there a way to engage it other than control click? Using com? Of DLL?
by iilabs
24 Jun 2023, 22:26
Forum: Ask for Help (v1)
Topic: An OLD favorite Confusion: Class NN and still foggy!
Replies: 7
Views: 452

Re: An OLD favorite Confusion: Class NN and still foggy!

That worked great :thumbup: . Only one that didnt work was: ClassNN: EPListWnd1 Somehow did get a focus? Maybe it’s not a button but a list that needs to be clicked to activate? Any clue? It’s the only one requiring mouse movement and click so I can live with it. Just curious as to why it didn't wor...
by iilabs
24 Jun 2023, 17:25
Forum: Ask for Help (v1)
Topic: An OLD favorite Confusion: Class NN and still foggy!
Replies: 7
Views: 452

An OLD favorite Confusion: Class NN and still foggy!

Hello AHK aficionados, I'm back to an old blunder Ive never figured out how to deal with Class NN?, I'm trying to activate some GUI buttons and fields in a 3rd party program and avoiding mouse moves, delays, clicks, etc. I'll be using this repetitively for building other variables. Any ideas how I c...
by iilabs
23 Jun 2023, 19:37
Forum: Ask for Help (v1)
Topic: How to backspace Topic is solved
Replies: 5
Views: 44208

Re: How to backspace Topic is solved

Sorry if bit late,

try

Code: Select all

SendInput, {Backspace 4} 
by iilabs
23 Jun 2023, 09:29
Forum: Ask for Help (v1)
Topic: Help with measuring pixels with PixelSpacing
Replies: 3
Views: 261

Re: Help with measuring pixels with PixelSpacing

The logic seems much better. I may not have explained the button presses accurately. For me to zoom I have to have both Rbutton and Lbutton pressed and dragged and then get the zoomfactor. I believe now zoomfactor changes only if I press left and then right button. I tried below but not sure what to...
by iilabs
23 Jun 2023, 00:16
Forum: Ask for Help (v1)
Topic: Help with measuring pixels with PixelSpacing
Replies: 3
Views: 261

Help with measuring pixels with PixelSpacing

Hi AHK world, I have a script I'm having trouble combining the logic. What I have is a basically a ruler that measures pixels and converts it to mm using a scale factor. This works great until you zoom. Then I have to convert scale factor with a zoom factor. My problem is I measure using LBUTTON, dr...
by iilabs
21 Jun 2023, 13:08
Forum: Ask for Help (v1)
Topic: OnMessage scroll counter
Replies: 16
Views: 2152

Re: OnMessage scroll counter

Ok will do. Are you getting different results from the code you posted other than -24 and 24 when moving the mouse wheel? Just want to make sure it’s not something else I might need to fix.
by iilabs
21 Jun 2023, 08:09
Forum: Ask for Help (v1)
Topic: OnMessage scroll counter
Replies: 16
Views: 2152

Re: OnMessage scroll counter

Those two numbers is what I get when I run the code above and use scroll. When I scroll up it’s -24 and when I scroll down it’s 24. Should they be incrementing instead?
by iilabs
20 Jun 2023, 16:10
Forum: Ask for Help (v1)
Topic: OnMessage scroll counter
Replies: 16
Views: 2152

Re: OnMessage scroll counter

Thank you all. However I see that tooltip either presents as 24 or -24 can I use these values to increase or decrease scrollcount? I tried several iterations but couldn't get it running. Any clue where I went wrong? mousewheelcounter=0 Gui, Show, w400 h400, Test GUI OnMessage(0x020A, "WM_MOUSEWHEEL"...
by iilabs
07 May 2023, 08:00
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 337
Views: 177746

Re: Radial menu scripts

Thank you Comvox, that explanation makes sense. So GUI 56 is the 56 radial dial and if not used its replaces it. What I'm trying to do is automate some common used sentences instead of depending on voice recognition while "reading" patient CT images. They say a picture is a thousand words! so I'm ho...
by iilabs
06 May 2023, 16:57
Forum: Scripts and Functions (v1)
Topic: Radial menu class
Replies: 17
Views: 7092

Re: Radial menu class

That would be awesome. Very useful script.
by iilabs
06 May 2023, 16:36
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 337
Views: 177746

Re: Radial menu scripts

Awesome script learning one! I have a script that loads many GUIs from ini files while I scroll through images. I want radial menu to access these GUIs as I view images to build strings based on the images viewed. Is there a way to make a context sensitive Radial dial for each different ini loaded? ...
by iilabs
05 May 2023, 15:54
Forum: Scripts and Functions (v2)
Topic: Radial Menu V2 - beta.3
Replies: 14
Views: 4213

Re: Radial Menu V2 - beta.3

Hi, Wonder if there is a bug here: I am using the example script on Github. One using the special key "CTRL" if a user goes to the outside circle trigger it displays the alternative option i.e. "Save5se" however when a user clicks in the main circle while still holding "CTRL" to trigger, it displays...

Go to advanced search