Search found 12 matches
- 23 Sep 2023, 04:09
- Forum: Ask for Help (v1)
- Topic: what is the best way to insert ahk variable into javascript function for running in chrome.ahk
- Replies: 1
- Views: 428
Re: what is the best way to insert ahk variable into javascript function for running in chrome.ahk
Anyone please help for above thread? In Other way, I try to switch to version 2 hope it will be solved the problem, new problem come, the chrome.ahk is still for version 1. When try to run in Autohotkey v2 it produce error with dependency/library like code inside JSON.ahk script. Error: Empty [] not...
- 06 Sep 2023, 21:57
- Forum: Ask for Help (v1)
- Topic: what is the best way to insert ahk variable into javascript function for running in chrome.ahk
- Replies: 1
- Views: 428
what is the best way to insert ahk variable into javascript function for running in chrome.ahk
Hi Guys, (Q1): I try to run javascript code with Chrome.ahk-1.3.0 , and autohotkey. 1.1.36.01 this line runs perfectly js = document.querySelector('a[href^="#-160055"]').dispatchEvent(new MouseEvent('mousedown')) PageInstance.Evaluate(js) ;=== this runs on Chrome.ahk perfectly But when make it in th...
- 10 Oct 2022, 23:14
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 613
- Views: 125925
Re: Rufaydium WebDriver 1.7.0 (no selenium/websocket)
Sorry admin please delete the last 2 unapproved post, this is the revised post. Hi i have a question, why the 'innerText' and 'textContent' NotWorking to get the value of second 'span', this use with ChromeDriver. isnpect00000117014976.PNG <div class="price-text--price-part--2npPm udlite-clp-discoun...
- 20 Nov 2021, 00:32
- Forum: Scripts and Functions (v1)
- Topic: Get quotes from MT4/MT5 directly to AHK script
- Replies: 3
- Views: 2934
Re: Get quotes from MT4/MT5 directly to AHK script
Hi guys its good to get direct connection output from metatrader how to get ahk_hwnd.mqh, can you share the copy of file.
- 04 May 2021, 12:33
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1087
- Views: 572151
Re: FindText - Capture screen image into text and then find it Topic is solved
Updated to 8.4 version - 2021/04/02 :dance: :beer: .... 1. Improvement: in multicolor mode,You can find multiple colors and adapt to different resolutions. ....... Now it also supports searching images, for example: Text:="|<>##10$ c:\a.bmp" ....... It's better to limit the search range to a small ...
- 17 Mar 2021, 07:14
- Forum: Scripts and Functions (v1)
- Topic: [Library] DSV Parser
- Replies: 8
- Views: 2915
Re: [Library] DSV Parser
I tried to get data and write to the cell A2 but no luck, it notwork, the csv is extracted from imacros, then i change the comma to pipe "|" #Include D:\Documents\AutoHotkey\Lib\DSVParser.ahk global BSVParser := new DSVParser("|") ; Load a CSV data string FileRead csvStr, "D:\sampleofpipe - Copy.csv...
- 17 Mar 2021, 05:51
- Forum: Ask for Help (v1)
- Topic: Problem with reading a CSV file
- Replies: 4
- Views: 354
Re: Problem with reading a CSV file
This appears to work. (The example from GitHub didn't #Include the csv.ahk) (Edit: Fix the last MsgBox line with proper row, col index numbers) #NoEnv #SingleInstance, force ;https://github.com/hi5/CSV #Include %A_ScriptDir%\csv.ahk CSV_Load("ExampleCSVFile.csv","data") Rows:=CSV_TotalRows("data") ...
- 17 Mar 2021, 05:43
- Forum: Ask for Help (v1)
- Topic: Problem with reading a CSV file
- Replies: 4
- Views: 354
Re: Problem with reading a CSV file
It sounds like the problem might be writing rather than reading. In any case, you can remove those characters if you like. A demo is below. str = this`t that`r`n the other MsgBox, % new := RegExReplace(str, "[\t\r\n]") An alternative replacement: MsgBox, % new := RegExReplace(str, "\s+", " ") I get...
- 16 Mar 2021, 12:05
- Forum: Ask for Help (v1)
- Topic: Problem with reading a CSV file
- Replies: 4
- Views: 354
Problem with reading a CSV file
Problem in reading a csv file, the csv is generated from imacros extracting a full web content html, the problem is when i want to read using csv.ahk and DSVParser.ahk it wont read the cell correctly. csv.ahk & DSVParser.ahk already in the \Documents\AutoHotkey\Lib\csv.ahk The csv if being opened wi...
- 11 Aug 2020, 02:53
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1087
- Views: 572151
Re: FindText - Capture screen image into text and then find it Topic is solved
Wow Great feiyue your code works like a charm :bravo: :clap: Note: my comment is just to make me understand, hope it not wrongly understood of Feiyue code. Now then i try to modify your tips to show the area for visual checking before compare WinGetPos, x, y, w, h, A xcoord := x ycoord := y width :=...
- 09 Aug 2020, 17:15
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1087
- Views: 572151
Re: FindText - Capture screen image into text and then find it Topic is solved
Thanks Feiyue the your code now works, But now, i want to try your code but it cannot get my code work to detect changing, it always get Tooltip status: Wait the screen image still the same. https 1.bp.blogspot.com /-PXY996U8SJE/XzBzb7xlYDI/AAAAAAAAHiQ/oyOxyqPx1GMzG4HyZQhdT32LtSiINVv-wCLcBGAsYHQ/s0/...
- 07 Aug 2020, 11:34
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1087
- Views: 572151
Re: FindText - Capture screen image into text and then find it Topic is solved
Hi Feiyue Great, that You are doing a very good work at this findtext. :bravo: I try to detect or wait change in some area first i try RegionWaitChange.ahk but not works. the error message: RegionWaitChange.ahk (63) : ==> Call to nonexistent function. Specifically: Hash_GetCode(bits, sz) Maybe some ...