Search found 301 matches
- 06 Jan 2023, 11:21
- Forum: Ask for Help (v1)
- Topic: Help modifying JsonToAHK to include headers Topic is solved
- Replies: 10
- Views: 803
Re: Help modifying JsonToAHK to include headers Topic is solved
I've found it with the help of ChatGPT ;) Another possibility is that the jsonData variable is being defined correctly, but the object it contains does not have a property called data. If this is the case, then you will need to modify the script to access the correct property of the jsonData object.
- 06 Jan 2023, 11:02
- Forum: Ask for Help (v1)
- Topic: Help modifying JsonToAHK to include headers Topic is solved
- Replies: 10
- Views: 803
Re: Help modifying JsonToAHK to include headers Topic is solved
Hi all, I've tried this wonderful script from teadrinker with another JSON file, but get an error from website: Line: 24 Error: The property "0" of an undefined or null reference cannot be retrieved. Does anyone have an idea what could be wrong here? Many thanks! Error: 0x80020101 - Specifically: ev...
- 13 Aug 2022, 01:44
- Forum: Ask for Help (v1)
- Topic: AHK use UIA (inspect) get the text problem Topic is solved
- Replies: 7
- Views: 1373
Re: AHK use UIA (inspect) get the text problem Topic is solved
See example 1 in this thread
viewtopic.php?f=6&t=104999
viewtopic.php?f=6&t=104999
- 23 Jul 2022, 08:15
- Forum: Ask for Help (v1)
- Topic: Kill switch with a tool bar refresh
- Replies: 5
- Views: 900
Re: Kill switch with a tool bar refresh
Hi, the main problem is that the script exits before it can continue. For me this version would make the most sense, here as a hotkey on the function key F3 placed #NoEnv return F3:: ;Hotkey closing all running ahk instances except itself CurrPID := DllCall("GetCurrentProcessId") RefreshNeeded := fa...
- 22 Jul 2022, 01:04
- Forum: Ask for Help (v1)
- Topic: Kill switch with a tool bar refresh
- Replies: 5
- Views: 900
Re: Kill switch with a tool bar refresh
Hello,
sounds for me like a timing problem.
You may try runwait instead of run command.
sounds for me like a timing problem.
You may try runwait instead of run command.
- 01 Jul 2022, 12:31
- Forum: Scripts and Functions (v1)
- Topic: UIAutomation with a focus on Chrome
- Replies: 544
- Views: 116509
- 01 Jul 2022, 01:13
- Forum: Scripts and Functions (v1)
- Topic: UIAutomation with a focus on Chrome
- Replies: 544
- Views: 116509
Re: UIAutomation with a focus on Chrome
Descolada thank you for your updates! If I may turn on wish mode....I would have the following ideas to the UIAViewer: - For faster code creation, I would find it helpful, if one could open a context menu in the UIAViewer in the TreeView by right clicking on an element, which shows you all access c...
- 21 Jun 2022, 07:23
- Forum: Scripts and Functions (v1)
- Topic: UIAutomation with a focus on Chrome
- Replies: 544
- Views: 116509
Re: UIAutomation with a focus on Chrome
Hi Descolada it seems so, as something is broken in your last update. In the previous version this code was working fine for me: cUIA := new UIA_Browser("A") msgbox,4096,, % cUIA.FindAllByType(50000).length() In the lastest version, it gives me this error :roll: --------------------------- ahkit.ahk...
- 21 Jun 2022, 03:45
- Forum: Scripts and Functions (v1)
- Topic: UIAutomation with a focus on Chrome
- Replies: 544
- Views: 116509
Re: UIAutomation with a focus on Chrome
Descolada Thanks for your support :) ...finally this code does the job. Instead of "MenuItem" I needed "ListItem". MyCombo := cUIA.WaitElementExist("ControlType=ComboBox") expandCollapsePattern := MyCombo.GetCurrentPatternAs("ExpandCollapse") expandCollapsePattern.Expand() cUIA.WaitElementExist("Na...
- 20 Jun 2022, 12:15
- Forum: Scripts and Functions (v1)
- Topic: UIAutomation with a focus on Chrome
- Replies: 544
- Views: 116509
Re: UIAutomation with a focus on Chrome
Descolada , thank you very much for your update. It's working now amazingly good! 8-) The next issue I am stuck on is how to select a specific value from a web combo box. Do you have an example for this? MyCombo := cUIA.WaitElementExist("ControlType=ComboBox") ;working expandCollapsePattern := MyCo...
- 19 Jun 2022, 10:53
- Forum: Scripts and Functions (v1)
- Topic: UIAutomation with a focus on Chrome
- Replies: 544
- Views: 116509
Re: UIAutomation with a focus on Chrome
@aifritz, you can try inspecting it with Accessibility Insights as well, because it shows more properties than UIAViewer and you might find something that will separate it (though this is unlikely, because usually Edit elements only have different names or values). Other than that, using a TreeWalk...
- 15 Jun 2022, 10:37
- Forum: Scripts and Functions (v1)
- Topic: UIAutomation with a focus on Chrome
- Replies: 544
- Views: 116509
Re: UIAutomation with a focus on Chrome
@aifritz, thank you for your feedback, fixed that typo. Also fixed a bug in GetCurrentMainPaneElement which was using FindFirst to look for a ToolBar element, but in Chrome UIA tree the document element is located before the actual toolbar, so if the website content contained a toolbar then that wa...
- 12 Jun 2022, 12:11
- Forum: Scripts and Functions (v1)
- Topic: UIAutomation with a focus on Chrome
- Replies: 544
- Views: 116509
Re: UIAutomation with a focus on Chrome
@Descolada, thank you for this wonderful work! :bravo: :bravo: :bravo: I've tested the SelectTab() function and found some typos -> The var Name must be tabName Furthermore didn't get the function working with matchMode=3. It seems so as this.BrowserElement.FindFirst(AndCondition).Click() is not wor...
- 02 May 2022, 00:37
- Forum: Scripts and Functions (v1)
- Topic: Deleting blank rows in an Excel spreadsheet
- Replies: 3
- Views: 766
Re: Deleting blank rows in an Excel spreadsheet
Very cool! Thanks for sharing
- 01 May 2022, 04:13
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 610
- Views: 124760
Re: Rufaydium WebDriver (no selenium/websocket)
I've played a bit with session.isLoading() What I don't unterstand is, why session.isLoading() never gives any value back. This script is only working, when you set TestWithIsLoading := 0 #Include %A_ScriptDir%\lib #Include Rufaydium.ahk ChromeDriver := A_ScriptDir "\chromedriver.exe" Return F4:: Dr...
- 23 Apr 2022, 08:34
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 610
- Views: 124760
Re: Rufaydium WebDriver (no selenium/websocket)
If I have already logged in to a website with my credentials, is there a way to connect to that browser session that is already open?
Many thanks to Xeo786 for this great work! I am deeply impressed
Many thanks to Xeo786 for this great work! I am deeply impressed
- 16 Apr 2022, 09:29
- Forum: Ask for Help (v1)
- Topic: Script for pressing the same key to activate and deactivate a keypress Topic is solved
- Replies: 3
- Views: 1063
Re: Script for pressing the same key to activate and deactivate a keypress Topic is solved
already answered here
https://www.autohotkey.com/board/topic/92188-break-a-loop-with-the-same-hotkey-its-pressed/
you can also do it with a while loop...
https://www.autohotkey.com/board/topic/92188-break-a-loop-with-the-same-hotkey-its-pressed/
you can also do it with a while loop...
Code: Select all
#MaxThreadsPerHotkey 2
Backspace::
Toggle := !Toggle
while Toggle
send s
return
- 14 Mar 2022, 01:19
- Forum: Ask for Help (v1)
- Topic: write date & time to Excel file without opening it?
- Replies: 13
- Views: 1408
- 06 Feb 2022, 08:26
- Forum: Ask for Help (v1)
- Topic: Help with ADO with Excel Topic is solved
- Replies: 8
- Views: 1049
Re: Help with ADO with Excel Topic is solved
This one is working for me with xlsx and also xlsb (which is my favorite format 8-) ) dataSource := A_ScriptDir . "\SampleData.xlsx" objConnection := ComObjCreate("ADODB.Connection") objRecordSet := ComObjCreate("ADODB.Recordset") objConnection.Open("Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" ...
- 20 Sep 2021, 09:18
- Forum: Ask for Help (v1)
- Topic: Excel Entries Topic is solved
- Replies: 2
- Views: 440
Re: Excel Entries Topic is solved
Code: Select all
xl.Range("A" nwrw).value := nick
xl.Range("B" nwrw).value := runs