Search found 97 matches

by jekko1976
12 Feb 2024, 02:45
Forum: Ask for Help (v1)
Topic: Excel COM add sheet after the last sheet Topic is solved
Replies: 4
Views: 146

Re: Excel COM add sheet after the last sheet Topic is solved

F12::ExcelAddSheetLast() ExcelAddSheetLast() { xlSheets := ComObjActive("Excel.Application").ActiveWorkbook.Sheets xlSheets.Add(, xlSheets.Item(xlSheets.Count)) } Dear datapoint, your code is working like a charm and I thank you for the help. It happends quite often to me that I find the solution i...
by jekko1976
11 Feb 2024, 18:08
Forum: Ask for Help (v1)
Topic: Excel COM add sheet after the last sheet Topic is solved
Replies: 4
Views: 146

Excel COM add sheet after the last sheet Topic is solved

Hello, I would like, using COM, to add a worksheet after the last worksheet. In the VBA documentation i read that the VB command is: ActiveWorkbook.Sheets.Add(After:=ActiveWorkbook.Worksheets(ActiveWorkbook.Worksheets.Count)) This command "as is" doesn't work in autohotkey. How could I convert this ...
by jekko1976
06 Nov 2023, 02:30
Forum: Ask for Help (v1)
Topic: suspend keys of another script Topic is solved
Replies: 2
Views: 269

Re: suspend keys of another script Topic is solved

@Rohwedder
Thank you very much!
Your solution works perfectly!
by jekko1976
03 Nov 2023, 10:15
Forum: Ask for Help (v1)
Topic: suspend keys of another script Topic is solved
Replies: 2
Views: 269

suspend keys of another script Topic is solved

Hello, I have a script always working in the background. This script has the key ctrl+shift+p that launch a procedure that "does something". I need to run ANOTHER SCRIPT that to launch a print needs to send LITERLALLY the keys ctrl+shift+p. But when I set this second script to send the keys ctrl+shi...
by jekko1976
12 Apr 2023, 05:56
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 544
Views: 116450

Re: UIAutomation with a focus on Chrome

Descolada Unfortunately the element is an EDIT element, but never change for any value that you insert. DoDefaultAction does nothing. I will do like I always did. Searching for the bounding area and clicking in the middle of it. I Leave herewith the report of Accessibility Insights if you have some...
by jekko1976
11 Apr 2023, 10:42
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 544
Views: 116450

Re: UIAutomation with a focus on Chrome

in my program, when I click on the element of my interest the only UIA parameter that changes is this (seen with accessibility insights)

LegacyIAccessiblePattern.State 1048576

to

LegacyIAccessiblePattern.State 1048580


How could I ask to UIA to change this property?

Thank you
by jekko1976
09 Mar 2023, 06:26
Forum: Ask for Help (v1)
Topic: Chrome.ahk no longer working? Topic is solved
Replies: 10
Views: 1659

Re: Chrome.ahk no longer working? Topic is solved

i have the same exact probelm and i don't know what do do...
by jekko1976
25 Nov 2022, 02:46
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 453723

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Hello, One of the biggest advantage of Chrome.ahk is that it can run in background while you are doing other with the pc. So when I work in other programs it navigate and click and write and read in Chrome. BUT when I have to download a file I can click and when I arrive at the SAVE AS windows, I do...
by jekko1976
03 Nov 2022, 05:23
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 544
Views: 116450

Re: UIAutomation with a focus on Chrome

When I send a click on an element nothing happens. I have inspected the element with Accessibility insights and I have seen that, when I click my element, a "AutomationFocusChanged" Event is sent. So I reviewed the Example number 7 but unfortunately it can only "Detect" a "AutomationFocusChanged" Ev...
by jekko1976
27 Sep 2022, 10:06
Forum: Looking for Volunteers in other languages
Topic: [Paused] Looking for Volunteers
Replies: 62
Views: 28503

Re: [Paused] Looking for Volunteers

I run for Italian language.
AHK is so little-known in Italy, and it's so powerful...
I'm ok with the fact that at the moment you aren't opening any new language.
We'll see in the future...
by jekko1976
23 Sep 2022, 15:13
Forum: Ask for Help (v1)
Topic: autohotkey and Microsoft Foundation Class (MFC)
Replies: 2
Views: 398

Re: autohotkey and Microsoft Foundation Class (MFC)

Thank you for the reply, bobo
If anyone is interested to write an inspector and a wrapper for my program, all I can do is to offer a little financial contribute for the trouble (paypal recharge).
You can pm me if you are interested.
by jekko1976
23 Sep 2022, 14:24
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 544
Views: 116450

Re: UIAutomation with a focus on Chrome

@Descolada
oh...thank you! In the wiki I found the findbypath too that should do the trick in an easier way :)
by jekko1976
23 Sep 2022, 10:36
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 544
Views: 116450

Re: UIAutomation with a focus on Chrome

I haven't really clear how "treewalker" works.
I think that it would be fantastic if a "treewalker" example will be added to the existing ones.
I didn't find it.
BTW: I think that UIA is a really awesome library!
Thank you
by jekko1976
23 Sep 2022, 03:20
Forum: Ask for Help (v1)
Topic: autohotkey and Microsoft Foundation Class (MFC)
Replies: 2
Views: 398

autohotkey and Microsoft Foundation Class (MFC)

Hello, In the program that I use, I have this control ahk_class Afx:79B60000:b:00010003:00000006:09500CA5 that "should be" generated by Microsoft Foundation Class. It is a table full of data but I only see the rectangle of the table and I cannot access the data inside. It is a problem that I am tryi...
by jekko1976
21 Sep 2022, 07:27
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 544
Views: 116450

Re: UIAutomation with a focus on Chrome

Descolada Hi Descolada and thank you so much. I don't know why, but your snippet injected to my script "as is" wasn't working, so I tried other solutions and this one seems to work: UIA := UIA_Interface() browserId := "ahk_exe chrome.exe" WinActivate, %browserId% WinWaitActive, %browserId% cbEl := ...
by jekko1976
20 Sep 2022, 09:36
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 544
Views: 116450

Re: UIAutomation with a focus on Chrome

i'd need to fire a select option on a site, on a html like: <select name="pagamenti_table_length" aria-controls="pagamenti_table" class="custom-select custom-select-sm form-control form-control-sm"> <option value="10">10</option> <option value="25">25</option> <option value="50">50</option> <option ...

Go to advanced search