JS = document.querySelector("div[aria-label='" . CurrentDate . "'] span span span").innerText
using same code i plugged in this as JS and its not working
the goal is to use current date as input
Search found 31 matches
- 25 Apr 2023, 23:44
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 458888
- 25 Apr 2023, 22:49
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 458888
- 25 Apr 2023, 01:24
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 458888
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Im running version 1. Having trouble outputting text from a javacript call into AHK #Include ..\Chrome.ahk FileCreateDir, ChromeProfile ChromeInst := new Chrome("ChromeProfile", "https://palmbeach.realforeclose.com/index.cfm?zaction=USER&zmethod=CALENDAR") ; --- Connect to the page --- if !(PageInst...
- 08 Sep 2022, 20:56
- Forum: Ask for Help (v1)
- Topic: moving mouse/ clicking not working
- Replies: 1
- Views: 278
moving mouse/ clicking not working
I am having a ton of trouble with the simplest script, ahk version 1.1.34 i am activating a window, doing a couple clicks in 3 locations. I tried click, mouseclick, mousemove all directly from the documentation, tried switching coordmode then sending some keyboard commands the finding of the window ...
- 14 Oct 2021, 13:48
- Forum: Ask for Help (v1)
- Topic: editing a line
- Replies: 3
- Views: 378
Re: editing a line
Awesome inputs, thanks guys. I decided to go with fileread, delete, FileAppend
- 14 Oct 2021, 13:41
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1088
- Views: 577272
Re: FindText - Capture screen image into text and then find it Topic is solved
Experiencing a particularly annoying issue I am running my code, once it hits the #Include the findtext gui pops up. My program does not run. I try closing it while program is running, nothing This is strange because i have run the program many times and this was not happening. Anyone have this happ...
- 12 Oct 2021, 12:11
- Forum: Ask for Help (v1)
- Topic: editing a line
- Replies: 3
- Views: 378
editing a line
I have 2 lines in a text document, C:/test.txt
I need to change the second line from: word word word "00000000"
to: word word word "123456"
I thought FileAppend was the proper command, but that only seems to add to the end of the document
I need to change the second line from: word word word "00000000"
to: word word word "123456"
I thought FileAppend was the proper command, but that only seems to add to the end of the document
- 12 Oct 2021, 08:23
- Forum: Ask for Help (v1)
- Topic: Run with powershell Topic is solved
- Replies: 1
- Views: 284
Run with powershell Topic is solved
I am trying to run my Create Release.ps1 I got it working properly using cmd prompt with command powershell - file "C:\...\Create Release.ps1" However I cant get ahk to run this I have also tried running using the run command fileloc := "C:\...\Create Release.ps1" RunWait powershell -file %fileloc% ...
- 15 Sep 2021, 20:28
- Forum: Scripts and Functions (v1)
- Topic: Embedding Python in AHK - revisited.
- Replies: 7
- Views: 2258
Re: Embedding Python in AHK - revisited.
@burque505 unfortunately doesnt work for me
If you find another way to do it, I would love to know what it is
If you find another way to do it, I would love to know what it is
- 09 Jun 2021, 11:03
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1088
- Views: 577272
Re: FindText - Capture screen image into text and then find it Topic is solved
Hello All, FindText looks very useful, thanks feiyue.... But, when I run the script, the dialog looks like this: image.png The app cannot be resized and I can't quite get it to work. When I attempt to trim the image, I get a "convert to BW" messge, but I think those buttons are cut off? It's possib...
- 08 Jun 2021, 16:04
- Forum: Ask for Help (v1)
- Topic: OCR Challenge
- Replies: 5
- Views: 914
Re: OCR Challenge
fixed the github link. thats why this is an OCR challenge
- 08 Jun 2021, 14:28
- Forum: Ask for Help (v1)
- Topic: OCR Challenge
- Replies: 5
- Views: 914
OCR Challenge
I am having a lot of trouble obtaining the data from pdf documents that have certain data I need. Problems: 1. OCR does not always work, either cant read the data or gets the wrong number 2. Each pdf that i need to obtain data from has a different layout, or puts the dimension in a different area 2....
- 27 Apr 2021, 14:19
- Forum: Tutorials (v1)
- Topic: MS Office COM Basics
- Replies: 116
- Views: 198150
Re: MS Office COM Basics
Blackholyman Ok initially i didnt think there was a problem but i restarted from the beginning with a new var and it worked, but the Last Cell is still not working. Also, I am looking for a way to see all properties listed under the object XL and WB1 to see what is possible what is not, has anyone ...
- 26 Apr 2021, 15:00
- Forum: Tutorials (v1)
- Topic: MS Office COM Basics
- Replies: 116
- Views: 198150
Re: MS Office COM Basics
@kon CellA1 := xlApp.Cells(1, 1) ; Store a reference to cell A1 ; Find the last cell in Column 'A' that is not blank. ; Start at the last cell in Column 'A' and look upwards for a non-blank cell LastCell := xlApp.Cells(xlApp.Rows.Count, 1).End(-4162) ; xlUp = -4162 Not sure why but i copy and pasted...
- 22 Apr 2021, 15:26
- Forum: Ask for Help (v1)
- Topic: closest match - csv file Topic is solved
- Replies: 4
- Views: 276
Re: closest match - csv file Topic is solved
Are there better instructions on how to do this?
In a terminal or command line navigated to your project folder:
npm install string-similarity.ahk
In a terminal or command line navigated to your project folder:
npm install string-similarity.ahk
- 22 Apr 2021, 13:54
- Forum: Ask for Help (v1)
- Topic: closest match - csv file Topic is solved
- Replies: 4
- Views: 276
Re: closest match - csv file Topic is solved
that is awesome! thanks!
- 22 Apr 2021, 11:32
- Forum: Ask for Help (v1)
- Topic: closest match - csv file Topic is solved
- Replies: 4
- Views: 276
closest match - csv file Topic is solved
I need to take an city (broken down from full address from a website and then check a csv file for the city and then get the appropriate info from that row. The one problem is that the city value is often inputted incorrectly (either misspelling or spaces when there should be none). My code thus far...
- 15 Apr 2021, 11:32
- Forum: Ask for Help (v1)
- Topic: how to use javascript split in autohotkey Topic is solved
- Replies: 1
- Views: 168
how to use javascript split in autohotkey Topic is solved
I searched through the forums and could not find a topic that matches this exactly so if this is a repeat I apologize I have a string that is obtained from a webpage that is an address. This address can be in several different states 1. blank 2. street address, city state and zip 3. city state and z...
- 08 Dec 2020, 10:31
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 140635
Re: Get the URL of the current (active) browser tab
@atnbueno I just tried this on Chrome, did not work, please advise
- 07 Dec 2020, 09:39
- Forum: Ask for Help
- Topic: SIMPLIFIED How to install AutoHotKey_H COMPLETE
- Replies: 10
- Views: 11269
Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE
I started out with vanilla AHK. I downloaded the zip file for AHK_H and copied and pasted the files into the compiler folder. The instructions on the readme says "Handle FileInstall on same-line If* commands." but I am unaware how to do this. I have tried the suggestion of copy and pasting the exe f...