Search found 10 matches
- 01 Mar 2023, 10:02
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 467044
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Hi. How can I run two instances of Chrome simultaneously each with their own commands? For example, in one Chrome I want to press F1 and have it execute and in another Chrome I want to press F2 and do something else. I tried hard coding the debugger port on a copy of Chrome.ahk to 9223 and having o...
- 14 Dec 2021, 23:08
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 467044
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
So I was doing some investigating with an issue that popped up, and noticed when I browse to localhost:9222, I get this message: https://i.imgur.com/9lVlLF6.png Will this have any impact on the ability to interact with Chrome? From the way the way it's worded in the subsequent link, I can't tell if ...
- 12 May 2021, 12:18
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 467044
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Thank you @teadrinker , Do you know how to get JSESSIONID which is Httponly and secure? Or how to handle API request with CSRF token instead of JSESSIONID if it is possible? Thanks Blue In reference to the CSRF token, it would depend on the site, but there's one I use that exposes the token via jqu...
- 11 May 2021, 09:53
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 467044
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Question now is .. How to create a IF statement to detect if Chrome Instance is in Debug mode? DebugPort := 9222 ;Default port for Chrome debugging IF (Chromes := Chrome.FindInstances()).HasKey(DebugPort) ;If existing instance of Chrome w/ Port 9222 found { ChromeInst := {"base": Chrome, "DebugPort...
- 18 Feb 2021, 13:38
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 467044
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Thank you kindly
- 18 Feb 2021, 12:05
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 467044
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Class LightJson: json = {"key": "value"} Obj := LightJson.Parse(json) ; json to AHK object MsgBox, % Obj.key ; set boolean value Obj.bool := LightJson.true MsgBox, % LightJson.Stringify(obj, " ") ; AHK object to json unescapedStr = ( text%A_Tab%abc new line ) escapedStr := LightJson.Stringify(unesc...
- 19 Apr 2019, 10:07
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 467044
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
So I've been using this fantastic library at work to automate some mundane copy/paste work and GUI navigation, but have run into a hitch. I'm trying to simplify some of the code by pulling back multiple data points from a JSON response in a single jQuery, vs having to run the same jQuery multiple ti...
- 04 Dec 2015, 18:56
- Forum: Ask for Help (v1)
- Topic: COM activity - clicking a button via class
- Replies: 6
- Views: 3207
Re: COM activity - clicking a button via class
tank wrote:value not innertext
Code: Select all
If InStr(buttons[A_index].value , "Investigate")
Thanks to you both for such quick responses.
- 04 Dec 2015, 18:35
- Forum: Ask for Help (v1)
- Topic: COM activity - clicking a button via class
- Replies: 6
- Views: 3207
Re: COM activity - clicking a button via class
The elements tags are not "button" or "action" but "input" So try with that Also if your using IE9+ you can use "getElementsByClassName()" Had tried with "input" as well with the same result - no errors but also button is never clicked. Had found a reference to the getElementsByClassName in a prior...
- 04 Dec 2015, 17:38
- Forum: Ask for Help (v1)
- Topic: COM activity - clicking a button via class
- Replies: 6
- Views: 3207
COM activity - clicking a button via class
Have spent the better part of the past several days trying to get a macro to work on an internal website. Everything's been smooth except for being able to click on several buttons on the page, have probably spent a good 6+ hours bouncing around hte code. The buttons are assigned no name or ID to si...